1
0
mirror of https://github.com/github/gitignore synced 2025-06-27 17:18:52 +02:00

153 Commits

Author SHA1 Message Date
Daniel Johnson
975d0c3945
Merge pull request #4671 from akaIDIOT/patch-python-pdm
Update documentation link for pdm, use recommended includes/excludes
2025-06-20 14:23:29 -07:00
Daniel Johnson
820563a00f
Merge pull request #4471 from kasi-x/main
add pixi configure in python gitignore
2025-06-20 13:22:57 -07:00
Tim Hunter
77b8cdb816
Merge pull request #3985 from ojaswa1942/patch-1
Fix (Python.gitignore): Typo
2025-06-18 08:36:39 -07:00
Mattijs Ugen
75ec41f83a Update documentation link for pdm, use recommended includes/excludes 2025-06-16 16:40:50 +02:00
Daniel Johnson
1371bf29ff
Merge pull request #4665 from MikaeelMF/patch-1
Ignore marimo cache in Python.gitignore
2025-06-13 15:16:46 -07:00
Daniel Johnson
f1320c1344
Merge pull request #4369 from hspaans/hspaans/pep441
Update Python.gitignore for PEP 441
2025-06-13 14:55:53 -07:00
Daniel Johnson
b4f994b118
Merge pull request #3619 from fslds/patch-1
Add direnv .envrc to python gitignore
2025-06-13 14:14:10 -07:00
Mikaeil Mayeli
7b268f627c
Ignore marimo cache in Python.gitignore 2025-06-12 14:13:20 -04:00
vicman7
daf38183c7 Add poetry.toml to Python.gitignore 2025-05-31 16:00:30 -05:00
Nathaniel Young
90c3bc712b fixes spelling in in Python.gitignore in VS Code section 2025-05-30 22:47:20 +00:00
Bruno Vieira Costa
ef50fb9cad
Merge branch 'main' into main 2025-05-28 09:31:12 -03:00
Max
55bb9508ae
Update Python.gitignore 2025-05-23 21:39:08 +00:00
Devin Dooley
012a024a8d
Restore trailing newline in Python.gitignore 2025-05-19 18:20:26 +00:00
Lucas Liu
a642376bb2 add .cursorignore 2025-05-15 09:10:29 +08:00
Lucas Liu
5577a31232 add .cursorrules 2025-05-14 11:35:31 +08:00
Devin Dooley
e8554d85bf
Merge branch 'main' into patch-1 2025-01-17 13:19:34 -08:00
Daniel Johnson
6eeebe6f49
Merge pull request #4458 from navan0/patch-1
Update Python.gitignore
2024-12-18 10:15:09 -08:00
Kalle Møller
a38f687cec
Added uv.lock alongside pdm and poetry 2024-12-03 07:25:58 +01:00
Bruno Vieira Costa
5bb8f06fe6
Adding .abstra/ 2024-11-11 13:37:11 -03:00
kashi-x
9db05cc944 fix line length 2024-06-21 00:44:19 +09:00
kashi-x
772a211c7c add pixi configure in python gitignore 2024-06-20 23:47:58 +09:00
Navaneeth Anand
95aacb9500
Update Python.gitignore
Add .pypirc  to protect sensitive information
2024-06-04 08:37:10 +05:30
Marvin Vogt
bfa56dc5d8
Add .pdm-build/ 2023-12-28 14:21:54 +01:00
Hans Spaans
d7459a4850
Update Python.gitignore for PEP 441
PEP 441 introduces Python ZIP Applications to bundle a Python Application into a ZIP file with file extension `pyz`.
2023-11-04 12:04:43 +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
Christophe Saugé
4f0b7a0694
Update Python.gitignore
Add ruff cache. 
ruff tool: https://github.com/charliermarsh/ruff
ruff is becoming a very popular tool often run in pre-commit and aim to replace Flake8 (plus dozens of plugins), isort, pydocstyle, yesqa, eradicate, pyupgrade, and autoflake, all while executing tens or hundreds of times faster than any individual tool.
2023-05-01 20:49:13 +02:00
Marvin Vogt
e8131b2a80
Add .pdm-python to python gitignore 2023-04-09 18:25:17 +02:00
Ojaswa Sharma
57c1500630
fix: typo in Python.gitignore 2022-02-24 15:03:55 +05:30
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
fslds
b7563346aa
Add direnv .envrc to ignored files.
The direnv project (https://direnv.net/ )  uses .envrc files for dynamically loading environment variables (or other settings) per directory using the user's shell.. As it can contain sensitive information, and is similar in goal as to .env etc, I think it is a good idea to exclude this by default as well.
2021-01-07 10:52:41 +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 e931ef7f3e7d8f7aa0e784c14bd291ad4448b1ab.
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