From 5b0c67511c551b7b21c1586fc406ac1c73a72fbf Mon Sep 17 00:00:00 2001 From: Florian Maas Date: Wed, 17 Jul 2024 07:50:33 +0200 Subject: [PATCH 1/6] improve gitignore --- .gitignore | 170 ++++++++++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 156 insertions(+), 14 deletions(-) diff --git a/.gitignore b/.gitignore index 7ce55ef..cc1cc88 100644 --- a/.gitignore +++ b/.gitignore @@ -1,23 +1,165 @@ -build/ -dist/ -chispa.egg-info/ -.cache/ -tmp/ -.idea/ -.DS_Store -.python_version +.DS_store +# From https://github.com/github/gitignore/blob/main/Python.gitignore # Byte-compiled / optimized / DLL files __pycache__/ *.py[cod] +*$py.class + +# C extensions +*.so + +# Distribution / packaging +.Python +build/ +develop-eggs/ +dist/ +downloads/ +eggs/ +.eggs/ +lib/ +lib64/ +parts/ +sdist/ +var/ +wheels/ +share/python-wheels/ +*.egg-info/ +.installed.cfg +*.egg +MANIFEST + +# PyInstaller +# Usually these files are written by a python script from a template +# before PyInstaller builds the exe, so as to inject date/other infos into it. +*.manifest +*.spec + +# Installer logs +pip-log.txt +pip-delete-this-directory.txt +# Unit test / coverage reports +htmlcov/ +.tox/ +.nox/ +.coverage +.coverage.* +.cache +nosetests.xml +coverage.xml +*.cover +*.py,cover +.hypothesis/ .pytest_cache/ +cover/ + +# 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/ + +# PyBuilder +.pybuilder/ +target/ + +# Jupyter Notebook +.ipynb_checkpoints + +# IPython +profile_default/ +ipython_config.py + +# pyenv +# For a library or package, you might want to ignore these files since the code is +# intended to run in multiple environments; otherwise, check them in: +# .python-version + +# pipenv +# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control. +# However, in case of collaboration, if having platform-specific dependencies or dependencies +# having no cross-platform support, pipenv may install dependencies that don't work, or not +# install all needed dependencies. +#Pipfile.lock + +# poetry +# Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control. +# This is especially recommended for binary packages to ensure reproducibility, and is more +# commonly ignored for libraries. +# https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control +#poetry.lock + +# pdm +# Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control. +#pdm.lock +# pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it +# in version control. +# https://pdm.fming.dev/latest/usage/project/#working-with-version-control +.pdm.toml +.pdm-python +.pdm-build/ + +# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/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.json + +# Pyre type checker +.pyre/ -# MKDocs -site +# pytype static type analyzer +.pytype/ -# VSCode -.vscode +# Cython debug symbols +cython_debug/ -# Emacs -.dir-locals.el \ No newline at end of file +# PyCharm +# JetBrains specific template is maintained in a separate JetBrains.gitignore that can +# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore +# and can be added to the global gitignore or merged into this file. For a more nuclear +# option (not recommended) you can uncomment the following to ignore the entire idea folder. +#.idea/ From 9ff14aca539935213c65c33e964a72914e9eaa16 Mon Sep 17 00:00:00 2001 From: Florian Maas Date: Wed, 17 Jul 2024 07:51:02 +0200 Subject: [PATCH 2/6] improve gitignore --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index cc1cc88..65c2c2a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ .DS_store +.python_version # From https://github.com/github/gitignore/blob/main/Python.gitignore # Byte-compiled / optimized / DLL files From 5ca83324155ca85b44dd37c3dc87ffc05feae0e6 Mon Sep 17 00:00:00 2001 From: Florian Maas Date: Wed, 17 Jul 2024 08:20:30 +0200 Subject: [PATCH 3/6] add back missing elements --- .gitignore | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.gitignore b/.gitignore index 65c2c2a..60bc6e6 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,12 @@ .DS_store .python_version +# Emacs +.dir-locals.el + +# VSCode +.vscode + # From https://github.com/github/gitignore/blob/main/Python.gitignore # Byte-compiled / optimized / DLL files __pycache__/ From be28719f432997740347fcb1155a9423ed318bf2 Mon Sep 17 00:00:00 2001 From: Florian Maas Date: Wed, 17 Jul 2024 08:21:34 +0200 Subject: [PATCH 4/6] clean --- .gitignore | 38 +------------------------------------- 1 file changed, 1 insertion(+), 37 deletions(-) diff --git a/.gitignore b/.gitignore index 60bc6e6..845d76f 100644 --- a/.gitignore +++ b/.gitignore @@ -92,35 +92,6 @@ target/ profile_default/ ipython_config.py -# pyenv -# For a library or package, you might want to ignore these files since the code is -# intended to run in multiple environments; otherwise, check them in: -# .python-version - -# pipenv -# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control. -# However, in case of collaboration, if having platform-specific dependencies or dependencies -# having no cross-platform support, pipenv may install dependencies that don't work, or not -# install all needed dependencies. -#Pipfile.lock - -# poetry -# Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control. -# This is especially recommended for binary packages to ensure reproducibility, and is more -# commonly ignored for libraries. -# https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control -#poetry.lock - -# pdm -# Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control. -#pdm.lock -# pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it -# in version control. -# https://pdm.fming.dev/latest/usage/project/#working-with-version-control -.pdm.toml -.pdm-python -.pdm-build/ - # PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm __pypackages__/ @@ -162,11 +133,4 @@ dmypy.json .pytype/ # Cython debug symbols -cython_debug/ - -# PyCharm -# JetBrains specific template is maintained in a separate JetBrains.gitignore that can -# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore -# and can be added to the global gitignore or merged into this file. For a more nuclear -# option (not recommended) you can uncomment the following to ignore the entire idea folder. -#.idea/ +cython_debug/ \ No newline at end of file From 3c2a2b06856113c00c17d3ea6e535a316e0d4b87 Mon Sep 17 00:00:00 2001 From: Florian Maas Date: Wed, 17 Jul 2024 08:23:57 +0200 Subject: [PATCH 5/6] fix --- .gitignore | 25 +------------------------ 1 file changed, 1 insertion(+), 24 deletions(-) diff --git a/.gitignore b/.gitignore index 845d76f..96c6086 100644 --- a/.gitignore +++ b/.gitignore @@ -7,7 +7,7 @@ # VSCode .vscode -# From https://github.com/github/gitignore/blob/main/Python.gitignore +# Below are sections from https://github.com/github/gitignore/blob/main/Python.gitignore # Byte-compiled / optimized / DLL files __pycache__/ *.py[cod] @@ -65,19 +65,6 @@ cover/ *.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/ @@ -111,13 +98,6 @@ ENV/ env.bak/ venv.bak/ -# Spyder project settings -.spyderproject -.spyproject - -# Rope project settings -.ropeproject - # mkdocs documentation /site @@ -126,9 +106,6 @@ venv.bak/ .dmypy.json dmypy.json -# Pyre type checker -.pyre/ - # pytype static type analyzer .pytype/ From 3f0d5b8d4bfb16562ce38d3dead00a34c3074d71 Mon Sep 17 00:00:00 2001 From: Florian Maas Date: Wed, 17 Jul 2024 08:24:13 +0200 Subject: [PATCH 6/6] fix --- .gitignore | 7 ------- 1 file changed, 7 deletions(-) diff --git a/.gitignore b/.gitignore index 96c6086..fa48b13 100644 --- a/.gitignore +++ b/.gitignore @@ -82,13 +82,6 @@ ipython_config.py # PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm __pypackages__/ -# Celery stuff -celerybeat-schedule -celerybeat.pid - -# SageMath parsed files -*.sage.py - # Environments .env .venv