From 676ea13b0f921c892c0036a084436f20afc352dd Mon Sep 17 00:00:00 2001 From: 7000pctAUTO Date: Thu, 29 Jan 2026 15:43:10 +0000 Subject: [PATCH] Add templates and CI/CD workflows --- src/gitignore_cli/templates/python.yaml | 136 ++++++++++++++++++++++++ 1 file changed, 136 insertions(+) create mode 100644 src/gitignore_cli/templates/python.yaml diff --git a/src/gitignore_cli/templates/python.yaml b/src/gitignore_cli/templates/python.yaml new file mode 100644 index 0000000..2e8c659 --- /dev/null +++ b/src/gitignore_cli/templates/python.yaml @@ -0,0 +1,136 @@ +name: python +category: language +description: Python development environment +patterns: | + # Byte-compiled / optimized / DLL files + __pycache__/ + *.py[cod] + *$py.class + + # C extensions + *.so + + # Distribution / packaging + .Python + build/ + develop-eggs/ + downloads/ + eggs dist/ + / + .eggs/ + lib/ + lib64/ + parts/ + sdist/ + var/ + wheels/ + pip-wheel-metadata/ + share/python-wheels/ + *.egg-info/ + .installed.cfg + *.egg + MANIFEST + + # PyInstaller + *.manifest + *.spec + + # Installer logs + pip-log.txt + pip-delete-this-directory.txt + + # Unit test / coverage reports + htmlcov/ + .tox/ + .nox/ + .coverage + .coverage.* + .coveragerc + cover/ + .pytest_cache/ + .tox/ + .nox/ + .coverage* + htmlcov/ + .hypothesis/ + .pytest_cache/ + *_cache/ + + # Translations + *.mo + *.pot + + # Django stuff: + *.log + local_settings.py + db.json + media/ + + # Flask stuff: + instance/ + .webassets-cache + + # Scrapy stuff: + .scrapy + + # Sphinx documentation + docs/_build/ + + # PyBuilder + target/ + + # Jupyter Notebook + .ipynb_checkpoints + + # IPython + profile_default/ + ipython_config.py + + # pyenv + .python-version + + # pipenv + Pipfile.lock + + # PEP 582 + __pypackages__/ + + # Celery stuff + celerybeat-schedule + celerybeat.pid + + # SageMath parsed files + *.sage.py + + # Environments + .env + .venv + env/ + venv/ + ENV/ + env.bak/ + venv.bak/ + + # Spyder project settings + .spyderproject + .spyproject + + # Rope project settings + .ropeproject + + # mkdocs documentation + /site + + # mypy + .mypy_cache/ + .dmypy.json + dmypy.json + + # Pyre type checker + .pyre/ + + # pytype static type analyzer + .pytype/ + + # Cython debug symbols + cython_debug/