From 3c5e1b7f18fcf3ba9b584f329bab53318cb60acc Mon Sep 17 00:00:00 2001 From: alpha-nerd-nomyo Date: Wed, 17 Dec 2025 16:41:10 +0100 Subject: [PATCH] feat: add comprehensive .gitignore for Python project Add .gitignore file with rules for Python, IDE, test files, build artifacts, virtual environments, OS generated files, editor backups, test coverage, Python tooling, Jupyter, and RSA keypairs to improve repository cleanliness and prevent unwanted files from being committed. --- .gitignore | 105 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 105 insertions(+) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..9bb840a --- /dev/null +++ b/.gitignore @@ -0,0 +1,105 @@ +# Python +*.py[cod] +__pycache__/ +.Python +python-profile.* +build/ +develop-eggs/ +dist/ +downloads/ +eggs/ +.eggs/ +lib/ +lib64/ +parts/ +sdist/ +var/ +wheels/ +*.egg-info/ +.installed.cfg +*.egg +MANIFEST + +# Environment +.env +.venv +env/ +venv/ +ENV/ +env.bak/ +venv.bak/ + +# IDE +.idea/ +.vscode/ +*.swp +*.swo +*.bak +*.tmp +*.log + +# Test files +*.test +*.test.py +__pycache__/ +.py[co] + +# Build artifacts +build/ +dist/ +*.egg-info/ +*.egg + +# Virtual environments +venv/ +.env +.env.bak + +# OS generated files +.DS_Store +.DS_Store? +._* +.Spotlight-V100 +.Trashes +ehthumbs.db +Thumbs.db + +# Editor backup files +*.swp +*.swo + +# Test coverage +.htmlcov/ +.coverage +.coverage.* +.coveragerc +cover.xml + +# Python tooling +.pytest_cache/ +.mypy_cache/ +.pylint.d/ +.flake8 +.tox/ +.hypothesis/ +.instances/ + +# Jupyter +.ipynb_checkpoints/ +.jupyter/ +.jupyterlite/ + +# RSA Keypairs +client_keys/ +*.pem +*.key +*.cer +*.crt +*.csr +*.der +*.pfx +*.p12 +*.p7b +*.p7c +*.p7r +*.p7s