From 0481f3bda81ec0f25b634be18f27885130df7e46 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juan=20Luis=20Cano=20Rodr=C3=ADguez?= Date: Wed, 16 Feb 2022 23:43:19 +0100 Subject: [PATCH 1/3] Ignore PDM project-wide config See https://pdm.fming.dev/#use-with-ide --- Python.gitignore | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Python.gitignore b/Python.gitignore index de2d5e08..2d011989 100644 --- a/Python.gitignore +++ b/Python.gitignore @@ -101,7 +101,13 @@ ipython_config.py # https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control #poetry.lock -# PEP 582; used by e.g. github.com/David-OConnor/pyflow +# pdm +# pdm stores project-wide configurations in .pdm.toml, and it is recommended to not include it +# in version control. +# 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 __pypackages__/ # Celery stuff From 35b656aa850665b922834c9b635b154dca207e33 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juan=20Luis=20Cano=20Rodr=C3=ADguez?= Date: Fri, 18 Feb 2022 18:54:31 +0100 Subject: [PATCH 2/3] Expand explanations on PDM Co-authored-by: Lukasz Sobczuk --- Python.gitignore | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Python.gitignore b/Python.gitignore index 2d011989..401a03da 100644 --- a/Python.gitignore +++ b/Python.gitignore @@ -102,6 +102,14 @@ ipython_config.py #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/#use-with-ide +.pdm.toml + +# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm # pdm stores project-wide configurations in .pdm.toml, and it is recommended to not include it # in version control. # https://pdm.fming.dev/#use-with-ide From 8e67b9420cb6796e5eeca72682babdb06627ec8c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juan=20Luis=20Cano=20Rodr=C3=ADguez?= Date: Sun, 20 Feb 2022 11:29:55 +0100 Subject: [PATCH 3/3] Update Python.gitignore --- Python.gitignore | 6 ------ 1 file changed, 6 deletions(-) diff --git a/Python.gitignore b/Python.gitignore index 401a03da..68bc17f9 100644 --- a/Python.gitignore +++ b/Python.gitignore @@ -109,12 +109,6 @@ 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 -# pdm stores project-wide configurations in .pdm.toml, and it is recommended to not include it -# in version control. -# 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 __pypackages__/