Commit Graph

128 Commits

Author SHA1 Message Date
Kalle Møller
a38f687cec
Added uv.lock alongside pdm and poetry 2024-12-03 07:25:58 +01:00
Marvin Vogt
bfa56dc5d8
Add .pdm-build/ 2023-12-28 14:21:54 +01:00
Marvin Vogt
bb629fc14d
Update PDM docs reference
Co-authored-by: Leonardo Nascimento <6169152+leonaascimento@users.noreply.github.com>
2023-10-01 22:41:53 +02:00
Marvin Vogt
e8131b2a80
Add .pdm-python to python gitignore 2023-04-09 18:25:17 +02:00
Juan Luis Cano Rodríguez
8e67b9420c
Update Python.gitignore 2022-02-20 11:29:55 +01:00
Juan Luis Cano Rodríguez
35b656aa85
Expand explanations on PDM
Co-authored-by: Lukasz Sobczuk <sobczuk.lukasz@wp.pl>
2022-02-18 18:54:31 +01:00
Juan Luis Cano Rodríguez
0481f3bda8
Ignore PDM project-wide config
See https://pdm.fming.dev/#use-with-ide
2022-02-16 23:43:19 +01:00
Will Frey
eabb6717d9
Update Python.gitignore
Fix a typo: `maintainted` to `maintained`
2022-02-02 11:53:09 -05:00
Brian Douglas
3b6d9b0599
Merge pull request #3911 from JP-Ellis/patch-1
[Python] Add poetry.lock
2021-12-10 10:52:30 -08:00
JP-Ellis
596862f8b5
[Python] Add poetry.lock
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.

This is taken from https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
2021-12-07 10:31:40 +11:00
Wiblz
093b0fbce9 Replace references of this repo's "master" branch
with "main".
2021-12-06 23:39:54 +01:00
BrianMSheldon
22f1ff9ac0
Add JetBrains note for PyCharm to Python.gitignore
First and foremost I think that requiring such a complicated gitignore for JetBrains IDEs is a failure on JetBrains part in structuring their project setting.  I also feel that it should be included in the `Python.gitignore` due to its popularity and due to the frequency of requests.  A quick search for `PyCharm` PRs shows 81 closed PRs requesting it be added and if searching for `.idea` you can see many more have been requested.  However I understand the maintenance burden in including it when a user can manually merge the two files themselves so I understand why the maintainers have opted to maintain it seperately.  

The main problem I see is that with many people adding the `Python.gitignore` at project creation through the Github UI and the `JetBrains.gitignore` being in the Global folder and makes it less discoverable than it should be.  

This PR adds a comment for people adding the `Python.gitignore` directing them to the global `JetBrains.gitignore` which should solve this issue in a way that is acceptable for the maintainers, since comment-only sections already exist for `pyenv` and `pipenv`.
2020-06-24 15:47:11 -04:00
Pradyun Gedam
14f8a8b4c5
Remove pip-wheel-metadata/ from Python.gitignore (#3364)
pip generated this folder for a few versions, as part of it's initial
implementation of PEP 517.

pip has not generated this folder for a few versions now, so it should
be OK to remove this from the standard gitignore file.
2020-04-11 18:21:33 -03:00
Brendan Forster
e607bdd855
Revert "[Python] adding IDE & static related stuff (#3317)" (#3363)
This reverts commit e931ef7f3e.
2020-04-04 13:30:58 -03:00
Meysam
e931ef7f3e
[Python] adding IDE & static related stuff (#3317) 2020-03-13 08:53:35 -03:00
Arcadiy Ivanov
ae5431d6f0
Changes to PyBuilder 0.12+ (#3338)
PyB 0.12 uses `$project_root/.pybuilder/` for internal venvs.
2020-03-12 15:49:35 -03:00
Elijah Shaw-Rutschman
589831e1dc
Ignore Cython debug symbols (#3330)
Cython extension modules built with `gdb_debug=True` spit out debug symbols in the `cython_debug` directory at the top level of the project. The files in this directory contain hardcoded paths and are not shareable/meaningful across environments, so I think it makes sense to include them in a default Python .gitignore.
2020-03-11 09:59:33 -03:00
Xuan (Sean) Hu
83ff6af378
Add cover/ to Python.gitignore. (#3310) 2020-02-19 14:09:45 -04:00
Santiago Basulto
583f11eddd [Python] .python-version should NOT be ignored (#3274) 2020-02-09 21:25:26 -04:00
Brad Solomon
9627ac2173
Ignore .pytype/ directory (#3301)
pytype is a static type analyzer for Python code;
it generates files of inferred type information,
located by default in .pytype/pyi.
2020-02-09 18:23:33 -04:00
mrg0029
db0ef78b5a wtf is a pyflow (#3242) 2019-11-18 09:06:05 -04:00
Omer Katz
0207a9c954 Ignore the __pypackages__ folder for pyflow users. (#3205)
See https://github.com/David-OConnor/pyflow for details.
2019-11-08 17:15:10 -04:00
Petronald Green
b2198b3e66 Added celerybeat.pid (#3229) 2019-11-08 17:06:39 -04:00
Omer Katz
3b445ebb92 Ignore coverage annotations reports. (#3131) 2019-09-20 12:59:50 -03:00
Peter Hollows
c1faae44ae Add db.sqlite3-journal to Python.gitignore (#3063)
See also 15e56afe introduced this for Rails.gitignore.

Docs on Sqlite temporary files
https://www.sqlite.org/tempfiles.html#rollback_journals

Thanks @nickittynack (Nick Reynolds)
2019-05-25 13:16:08 -03:00
John Chang
c975d35a36 Replace non-ASCII character in comment (#3050)
The curly apostrophe in the comment is causing AWS EB CLI to fail. https://stackoverflow.com/a/55988700/594211
2019-05-09 08:03:00 -03:00
Jarry Shaw
7079791ab6 Add ignore rules for Pipenv (#2977)
* Add ignore rules for Pipenv

Pipenv uses Pipfile.lock to maintain Python package information
(metadata, hash, etc.) installed as described in Pipfile. Thus,
Pipfile.lock may vary on different operating systems, platforms
when collaborating. This PR adds Pipfile.lock into the Python
default gitignore. See http://pipenv.org

* Update Python.gitignore

Not to ignore Pipfile.lock in default, but explain
when and why it should be ignored in case of
collaboration. (adjusted according to comment
in github/gitignore#2977 by @drothmaler )

* Apply suggestions from code review

Co-Authored-By: JarryShaw <jarryshaw@icloud.com>

* Update Python.gitignore

As suggested by @shiftkey , elaborate on the problems that users might see with `Pipfile.lock`.
2019-03-11 09:12:02 -03:00
Sam Roeca
866572d481 Add pip-wheel-metadata to Python.gitignore
PEP-517 has resulted in some updates to the Python
build process. As a result, a new directory called
pip-wheel-metadata is created on fresh builds.
This PR adds this directory into the Python default
gitignore. See
e5f4bbb7dd/src/pip/_internal/req/req_install.py (L568)
2019-01-25 14:23:05 -05:00
J. Kevin Bay
926a6cba3d Hide wheels directory used on Debian-like systems (Ubuntu)
See https://www.debian.org/doc/packaging-manuals/python-policy/ch-module_packages.html

tl;dr Debian Policy requires wheels to be installed here and thus issuing
python3 -m venv .
on a Debian-like system creates this directory
2018-11-09 19:59:44 -07:00
kitsuyui
e970e56c9f Add .pyre directory for Pyre type checker
Pyre is a new type-checker for Python developed by facebook in May 2018.
https://pyre-check.org/

It makes .pyre directory for storing result or cache for type checking.
This directory is environment dependent. So it should be ignored from Git.
2018-10-23 22:25:12 +09:00
Seth M. Larson
34e8d3e204
Add .nox directory for the nox testing tool
See: https://github.com/theacodes/nox
2018-09-09 15:39:02 -05:00
Brendan Forster
210c95bb02
Merge pull request #2788 from amigcamel/ignore_ipython_profile
ignore ipython profile
2018-08-26 14:22:38 -03:00
amigcamel
e675c00b8c fix typo: should be profile_default instead of default_profile 2018-08-27 00:35:37 +08:00
amigcamel
c04384de49 ignore ipython profile 2018-08-22 17:33:41 +08:00
Gabriel Curio
7bc8780913 Remove newline at end of Python.gitignore.
My preference is for files to have a terminal newline, however that
doesn't seem to be how this repo is doing things.
2018-08-18 12:25:43 -05:00
Gabriel Curio
eb4ff424fd add dmypy.json - without initial '.', to Python.gitignore.
Older versions of dmypy used 'dmypy.json' without the initial '.'.
This should be added to Python.gitignore for those using older versions
of MyPy.
2018-08-18 12:21:30 -05:00
Gabriel Curio
07a1dd6b99 add .dmypy.json to Python.gitignore.
MyPy includes a daemon server that creates a file named .dmypy.json to
manage socket connection data.
2018-08-18 12:08:55 -05:00
Brendan Forster
2eba0d635f
Merge pull request #2612 from jtogrul/master
Ignored default sqlite database of Django
2018-03-11 14:58:48 -07:00
Brendan Forster
c663a87959
Merge pull request #2577 from cyliang/master
Remove unreasonable ignores for Python/Django
2018-03-11 14:48:23 -07:00
jtogrul
4f7105bd6e Ignored default sqlite database of Django 2018-02-25 14:57:08 +01:00
raimon
f651f0d3ee Add ignore '.pytest_cache' directory in Unit test section 2018-02-04 17:03:04 +09:00
Chih-Yung Liang
690942a76e
Remove two ignores for Python/Django
Both are neither python-specific nor django-specific:
- .static_storage
- .media
2018-01-12 08:01:52 +08:00
Brendan Forster
2ec038e578 Merge pull request #2464 from Cadmus/master
updated static and media files in django section
2017-09-21 12:05:35 +10:00
Brendan Forster
211cd81a69 Merge pull request #2416 from jwg4/patch-2
Add names of backup folders created by terrarium
2017-09-09 11:27:49 +10:00
Renjith S Raj
1d0f9ccd7a updated static and media files in django section 2017-08-29 05:33:33 +00:00
jwg4
1ee9409e83 Add env.bak, re-arrange 2017-06-21 15:45:53 +00:00
jwg4
86db3967f8 Add venv.bak - created by terrarium
Terrarium backs up old virtual environments by moving them to this dir.
2017-06-21 15:42:05 +00:00
Shiwei Sun
6d5d7e0c96 add MANIFEST to Python.gitignore
add MANIFEST which is GENERATED by distutils

Reasons for making this change:

if you use distutils.core to setup, the file MANIFEST is generated by distutils when run 'python setup.py sdist'
2017-05-26 16:30:51 +08:00
jwg4
252058ed8e Consolidate all environments in one section
Some of these names relate to specific tools, others could be used by multiple tools. In particular, virtualenv, the most popular tool for creating Python environments, does not mandate any of these and venv/ or .venv are simply conventional. It is more readable to group all of these together.
2017-05-22 09:24:44 +00:00
Younggun Kim
cb129a174f Fixed typo 2017-05-12 18:08:06 +09:00