From a7bd481524ab4771f79668b3316ebc91316a143c Mon Sep 17 00:00:00 2001 From: bewygs Date: Wed, 28 May 2025 17:59:53 +0200 Subject: [PATCH 1/2] Update .gitignore to follow Python.gitignore best practices --- .gitignore | 145 +++++++++++++++++++++++++++++++++++++++++++++++------ 1 file changed, 131 insertions(+), 14 deletions(-) diff --git a/.gitignore b/.gitignore index 840af3ee..2aaacd68 100644 --- a/.gitignore +++ b/.gitignore @@ -1,25 +1,142 @@ -*.pyc -*.egg-info -docs/_build -docs/build +# Byte-compiled / optimized / DLL files +__pycache__/ +*.py[cod] +*$py.class + +# C extensions +*.so + +# Distribution / packaging +.Python build/ +develop-eggs/ dist/ -.idea/ -log.* -log +downloads/ +eggs/ +.eggs/ +lib/ +lib64/ +parts/ +sdist/ +var/ +*.egg-info/ +.installed.cfg +*.egg +MANIFEST + +# PyInstaller +*.manifest +*.spec + +# Installer logs +distutils.log +pip-log.txt +pip-delete-this-directory.txt + +# Unit test / coverage reports +htmlcov/ +.tox/ +.nox/ .coverage +.coverage.* +.cache +nosetests.xml +coverage.xml +*.cover +.hypothesis/ +.pytest_cache/ + +# Translations +*.mo +*.pot + +# Django stuff: +*.log +local_settings.py +db.sqlite3 +db.sqlite3-journal + +# Flask stuff: +instance/ +.webassets-cache + +# Scrapy stuff: +.scrapy + +# Sphinx documentation +docs/_build/ +docs/build/ + +# PyBuilder +.target/ + +# Jupyter Notebook +.ipynb_checkpoints + +# IPython +profile_default/ +ipython_config.py + +# pyenv +.python-version + +# pipenv +# Pipfile.lock + +# poetry +# poetry.lock + +# pdm +__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-working/ + +# Editor and IDE settings +.idea/ +.vscode/ + +# OS and swap files .DS_Store *.swp *.swo -.cache/ -.pytest_cache -docs/source/generated + +# Certificate and key files +ca.pem +key.pem +*.out + +# Project-specific files dask-worker-space/ ci/slurm/environment.yml ci/pbs/environment.yml ci/sge/environment.yml ci/htcondor/environment.yml -.vscode/ -ca.pem -key.pem -*.out From fd40d55508a9314ef89fd35f05e0f232cdea0a5a Mon Sep 17 00:00:00 2001 From: bewygs Date: Wed, 28 May 2025 18:09:44 +0200 Subject: [PATCH 2/2] Remove C extensions from .gitignore --- .gitignore | 3 --- 1 file changed, 3 deletions(-) diff --git a/.gitignore b/.gitignore index 2aaacd68..dfd680b3 100644 --- a/.gitignore +++ b/.gitignore @@ -3,9 +3,6 @@ __pycache__/ *.py[cod] *$py.class -# C extensions -*.so - # Distribution / packaging .Python build/