diff --git a/.gitignore b/.gitignore index 159171e..8382859 100644 --- a/.gitignore +++ b/.gitignore @@ -127,4 +127,16 @@ dmypy.json .pytype/ # Cython debug symbols -cython_debug/ \ No newline at end of file +cython_debug/ + +# Pytest cache +.pytest_cache/ + +# Python cache +__pycache__/ +*.pyc + +# Distribution / packaging +*.egg-info/ +build/ +dist/ \ No newline at end of file diff --git a/code_collator/collate.py b/code_collator/collate.py index e69110c..d1818db 100644 --- a/code_collator/collate.py +++ b/code_collator/collate.py @@ -36,7 +36,7 @@ def read_gitignore(path): logging.info("Loaded .gitignore patterns from {gitignore_path}") return patterns except Exception as e: - logging.error("Error reading .gitignore file {gitignore_path}: {e}") + logging.error(f"Error reading .gitignore file {gitignore_path}: {e}") return []