From ff84633ebc5891b67180637c3c167a35c8f3fb25 Mon Sep 17 00:00:00 2001 From: Xuan Hu Date: Sun, 19 May 2024 10:57:57 +0800 Subject: [PATCH 1/2] chore: update gitignore --- .gitignore | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index 4cac379f..04d811c4 100644 --- a/.gitignore +++ b/.gitignore @@ -2,10 +2,6 @@ *.swp .DS_Store .copier-answers.yml -# TODO: Move `.pdm-build/` and `.pdm-python` out of custom section when upstream pull request merged. -# Reference: https://github.com/github/gitignore/pull/4279 -.pdm-build/ -.pdm-python Pipfile public release-notes.md @@ -118,8 +114,10 @@ ipython_config.py #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 +# 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__/ From b71e4f0a0997f0edbb842fb89c3d2446f7e480c5 Mon Sep 17 00:00:00 2001 From: Xuan Hu Date: Sun, 19 May 2024 10:59:09 +0800 Subject: [PATCH 2/2] update template --- template/.gitignore.jinja | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/template/.gitignore.jinja b/template/.gitignore.jinja index 068f8867..9eaf518c 100644 --- a/template/.gitignore.jinja +++ b/template/.gitignore.jinja @@ -4,10 +4,6 @@ [%- if project_name == "Serious Scaffold Python" %] .copier-answers.yml [%- endif %] -# TODO: Move `.pdm-build/` and `.pdm-python` out of custom section when upstream pull request merged. -# Reference: https://github.com/github/gitignore/pull/4279 -.pdm-build/ -.pdm-python Pipfile public release-notes.md @@ -120,8 +116,10 @@ ipython_config.py #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 +# 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__/