Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pre-commit-init/.codespellrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[codespell]
exclude-file = .codespellx
ignore-words-list = "FPT,FTP,fpt,ftp"
ignore-words-list = FPT,FTP,fpt,ftp
2 changes: 2 additions & 0 deletions pre-commit-init/pre-commit-init.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import os
import subprocess
import sys
from pathlib import Path
from shutil import copy2

from jinja2 import Environment, FileSystemLoader
Expand All @@ -12,6 +13,7 @@


def main(repo_path, categories):
repo_path = Path(repo_path).resolve()
# Navigate to the repository path
os.chdir(repo_path)

Expand Down