Skip to content

Commit ed4c3e5

Browse files
build: Add default python gitignore
1 parent 2677bcb commit ed4c3e5

File tree

1 file changed

+135
-0
lines changed

1 file changed

+135
-0
lines changed

.gitignore

Lines changed: 135 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,135 @@
1+
# Byte-compiled / optimized / DLL files
2+
__pycache__/
3+
*.py[cod]
4+
*$py.class
5+
6+
# C extensions
7+
*.so
8+
9+
# Distribution / packaging
10+
.Python
11+
build/
12+
develop-eggs/
13+
dist/
14+
downloads/
15+
eggs/
16+
.eggs/
17+
lib/
18+
lib64/
19+
parts/
20+
sdist/
21+
var/
22+
wheels/
23+
share/python-wheels/
24+
*.egg-info/
25+
.installed.cfg
26+
*.egg
27+
MANIFEST
28+
29+
# PyInstaller
30+
# Usually these files are written by a python script from a template
31+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
32+
*.manifest
33+
*.spec
34+
35+
# Installer logs
36+
pip-log.txt
37+
pip-delete-this-directory.txt
38+
39+
# Unit test / coverage reports
40+
htmlcov/
41+
.tox/
42+
.nox/
43+
.coverage
44+
.coverage.*
45+
.cache
46+
nosetests.xml
47+
coverage.xml
48+
*.cover
49+
*.py,cover
50+
.hypothesis/
51+
.pytest_cache/
52+
cover/
53+
54+
# Sphinx documentation
55+
docs/_build/
56+
57+
# PyBuilder
58+
.pybuilder/
59+
target/
60+
61+
# Jupyter Notebook
62+
.ipynb_checkpoints
63+
64+
# IPython
65+
profile_default/
66+
ipython_config.py
67+
68+
# pyenv
69+
# For a library or package, you might want to ignore these files since the code is
70+
# intended to run in multiple environments; otherwise, check them in:
71+
# .python-version
72+
73+
# pipenv
74+
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
75+
# However, in case of collaboration, if having platform-specific dependencies or dependencies
76+
# having no cross-platform support, pipenv may install dependencies that don't work, or not
77+
# install all needed dependencies.
78+
#Pipfile.lock
79+
80+
# poetry
81+
# Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
82+
# This is especially recommended for binary packages to ensure reproducibility, and is more
83+
# commonly ignored for libraries.
84+
# https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
85+
#poetry.lock
86+
87+
# pdm
88+
# Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
89+
#pdm.lock
90+
# pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
91+
# in version control.
92+
# https://pdm.fming.dev/latest/usage/project/#working-with-version-control
93+
.pdm.toml
94+
.pdm-python
95+
.pdm-build/
96+
97+
# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
98+
__pypackages__/
99+
100+
# Celery stuff
101+
celerybeat-schedule
102+
celerybeat.pid
103+
104+
# SageMath parsed files
105+
*.sage.py
106+
107+
# Environments
108+
.env
109+
.venv
110+
env/
111+
venv/
112+
ENV/
113+
env.bak/
114+
venv.bak/
115+
116+
# Spyder project settings
117+
.spyderproject
118+
.spyproject
119+
120+
# Rope project settings
121+
.ropeproject
122+
123+
# mypy
124+
.mypy_cache/
125+
.dmypy.json
126+
dmypy.json
127+
128+
# Pyre type checker
129+
.pyre/
130+
131+
# pytype static type analyzer
132+
.pytype/
133+
134+
# Cython debug symbols
135+
cython_debug/

0 commit comments

Comments
 (0)