From 2debacb85a0f810f61bb8b622f1c051af0e66c06 Mon Sep 17 00:00:00 2001 From: John Dawson Date: Mon, 9 Jan 2023 08:14:39 +0000 Subject: [PATCH 01/12] In Python.gitignore delete `:`s after headings --- Python.gitignore | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Python.gitignore b/Python.gitignore index 68bc17f9..162bcac0 100644 --- a/Python.gitignore +++ b/Python.gitignore @@ -55,17 +55,17 @@ cover/ *.mo *.pot -# Django stuff: +# Django stuff *.log local_settings.py db.sqlite3 db.sqlite3-journal -# Flask stuff: +# Flask stuff instance/ .webassets-cache -# Scrapy stuff: +# Scrapy stuff .scrapy # Sphinx documentation From 02359a1a26bad980c0be2f6246d7d0f3aa12522c Mon Sep 17 00:00:00 2001 From: John Dawson Date: Mon, 9 Jan 2023 08:20:35 +0000 Subject: [PATCH 02/12] In Python.gitignore substitute `.` for `:` at a sentence's end --- Python.gitignore | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Python.gitignore b/Python.gitignore index 162bcac0..f93ad9fb 100644 --- a/Python.gitignore +++ b/Python.gitignore @@ -84,7 +84,7 @@ 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: +# intended to run in multiple environments; otherwise, check them in. # .python-version # pipenv From 4d4fdf3139cb3c49f5f8d1e0c6a42d46c70a237f Mon Sep 17 00:00:00 2001 From: John Dawson Date: Mon, 9 Jan 2023 08:23:28 +0000 Subject: [PATCH 03/12] In Python.gitignore delete `stuff` at headings' ends --- Python.gitignore | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Python.gitignore b/Python.gitignore index f93ad9fb..4faaf3ee 100644 --- a/Python.gitignore +++ b/Python.gitignore @@ -55,17 +55,17 @@ cover/ *.mo *.pot -# Django stuff +# Django *.log local_settings.py db.sqlite3 db.sqlite3-journal -# Flask stuff +# Flask instance/ .webassets-cache -# Scrapy stuff +# Scrapy .scrapy # Sphinx documentation @@ -112,7 +112,7 @@ ipython_config.py # PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm __pypackages__/ -# Celery stuff +# Celery celerybeat-schedule celerybeat.pid From 51189729dc0f0f6a2d8cbfe08193defba3c2bc91 Mon Sep 17 00:00:00 2001 From: John Dawson Date: Mon, 9 Jan 2023 18:34:16 +0000 Subject: [PATCH 04/12] Make Python.gitignore's comments begin with `# ` --- Python.gitignore | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Python.gitignore b/Python.gitignore index 4faaf3ee..4d72348f 100644 --- a/Python.gitignore +++ b/Python.gitignore @@ -92,18 +92,18 @@ ipython_config.py # 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 +# 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 +# poetry.lock # pdm # Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control. -#pdm.lock +# 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/#use-with-ide @@ -157,4 +157,4 @@ cython_debug/ # 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/ +# .idea/ From fd539ec84b95b94c167b10ff5517f9ee13aa65be Mon Sep 17 00:00:00 2001 From: John Dawson Date: Mon, 9 Jan 2023 18:41:36 +0000 Subject: [PATCH 05/12] Make Python.gitignore's subordinate comments begin with `# ` --- Python.gitignore | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Python.gitignore b/Python.gitignore index 4d72348f..946feb45 100644 --- a/Python.gitignore +++ b/Python.gitignore @@ -27,8 +27,8 @@ share/python-wheels/ 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. +# 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 @@ -153,8 +153,8 @@ dmypy.json 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. +# 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 9adb31cd8f024111bc8fe2471b615f8245a47c8c Mon Sep 17 00:00:00 2001 From: John Dawson Date: Wed, 11 Jan 2023 07:42:23 +0000 Subject: [PATCH 06/12] Python.gitignore's paragraphs' lines limit to 80 characters --- Python.gitignore | 40 ++++++++++++++++++++++------------------ 1 file changed, 22 insertions(+), 18 deletions(-) diff --git a/Python.gitignore b/Python.gitignore index 946feb45..4b4a15fb 100644 --- a/Python.gitignore +++ b/Python.gitignore @@ -27,8 +27,8 @@ share/python-wheels/ 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. +# 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 @@ -83,29 +83,31 @@ 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. +# 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. +# 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. +# 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. +# 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. +# pdm stores project-wide configurations in .pdm.toml, but it is recommended +# to not include it in version control. # https://pdm.fming.dev/#use-with-ide .pdm.toml @@ -153,8 +155,10 @@ dmypy.json 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. +# 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 8d3384105b7185b9041d18ec7d12ef7223039980 Mon Sep 17 00:00:00 2001 From: John Dawson Date: Wed, 11 Jan 2023 07:55:31 +0000 Subject: [PATCH 07/12] In Python.gitignore move part of the heading for PEP 582 --- Python.gitignore | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Python.gitignore b/Python.gitignore index 4b4a15fb..796f569b 100644 --- a/Python.gitignore +++ b/Python.gitignore @@ -111,7 +111,9 @@ ipython_config.py # https://pdm.fming.dev/#use-with-ide .pdm.toml -# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm +# PEP 582 +# __pypackages__ is used by e.g. github.com/David-OConnor/pyflow and +# github.com/pdm-project/pdm. __pypackages__/ # Celery From 2144beff38ef63a7f35f6b9360d411db00d6ec47 Mon Sep 17 00:00:00 2001 From: John Dawson Date: Wed, 11 Jan 2023 08:05:03 +0000 Subject: [PATCH 08/12] In Python.gitignore substitute `Pipenv` for `pipenv` --- Python.gitignore | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Python.gitignore b/Python.gitignore index 796f569b..d2c4378a 100644 --- a/Python.gitignore +++ b/Python.gitignore @@ -87,11 +87,11 @@ ipython_config.py # code is intended to run in multiple environments; otherwise, check them in. # .python-version -# pipenv +# 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 +# support, Pipenv may install dependencies that don't work, or not install all # needed dependencies. # Pipfile.lock From a883d5857f10342db241130f276de6160675f730 Mon Sep 17 00:00:00 2001 From: John Dawson Date: Wed, 11 Jan 2023 08:06:23 +0000 Subject: [PATCH 09/12] In Python.gitignore substitute `Poetry` for `poetry` --- Python.gitignore | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Python.gitignore b/Python.gitignore index d2c4378a..c989f97c 100644 --- a/Python.gitignore +++ b/Python.gitignore @@ -95,7 +95,7 @@ ipython_config.py # needed dependencies. # Pipfile.lock -# poetry +# 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. From 3771a7af63ce4cfa3c80a2761460286cf6308e92 Mon Sep 17 00:00:00 2001 From: John Dawson Date: Wed, 11 Jan 2023 08:08:14 +0000 Subject: [PATCH 10/12] In Python.gitignore substitute `PDM` for `pdm` --- Python.gitignore | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Python.gitignore b/Python.gitignore index c989f97c..40f37c23 100644 --- a/Python.gitignore +++ b/Python.gitignore @@ -102,11 +102,11 @@ ipython_config.py # https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control # poetry.lock -# pdm +# 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 +# PDM stores project-wide configurations in .pdm.toml, but it is recommended # to not include it in version control. # https://pdm.fming.dev/#use-with-ide .pdm.toml From f88069fb6070f615e00afcfc3c3d28194b1cce87 Mon Sep 17 00:00:00 2001 From: John Dawson Date: Wed, 11 Jan 2023 08:10:25 +0000 Subject: [PATCH 11/12] In Python.gitignore substitute `MkDocs` for `mkdocs` --- Python.gitignore | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Python.gitignore b/Python.gitignore index 40f37c23..1dfcc5fd 100644 --- a/Python.gitignore +++ b/Python.gitignore @@ -139,7 +139,7 @@ venv.bak/ # Rope project settings .ropeproject -# mkdocs documentation +# MkDocs documentation /site # mypy From d12b881a220ca852980d5cf336b706728878f085 Mon Sep 17 00:00:00 2001 From: John Dawson Date: Thu, 12 Jan 2023 10:30:45 +0000 Subject: [PATCH 12/12] In Python.gitignore substitute `Python` for `python` --- Python.gitignore | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Python.gitignore b/Python.gitignore index 1dfcc5fd..b87538e5 100644 --- a/Python.gitignore +++ b/Python.gitignore @@ -27,7 +27,7 @@ share/python-wheels/ MANIFEST # PyInstaller -# Usually these files are written by a python script from a template before +# 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