Python.gitignore 2.0 KB
Newer Older
R
Ray Shan 已提交
1
# Byte-compiled / optimized / DLL files
2
__pycache__/
3
*.py[cod]
4
*$py.class
5 6 7

# C extensions
*.so
8

9
# Distribution / packaging
10
.Python
11 12 13
build/
develop-eggs/
dist/
14
downloads/
15
eggs/
16
.eggs/
17 18 19 20 21
lib/
lib64/
parts/
sdist/
var/
R
Rolando Espinoza 已提交
22
wheels/
23
pip-wheel-metadata/
24
share/python-wheels/
25
*.egg-info/
26
.installed.cfg
27
*.egg
S
Shiwei Sun 已提交
28
MANIFEST
29

M
Metallicow 已提交
30
# PyInstaller
M
Mateusz Jagiełło 已提交
31
#  Usually these files are written by a python script from a template
M
Metallicow 已提交
32 33
#  before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
M
Metallicow 已提交
34
*.spec
M
Metallicow 已提交
35

36 37
# Installer logs
pip-log.txt
38
pip-delete-this-directory.txt
39 40

# Unit test / coverage reports
H
hugovk 已提交
41
htmlcov/
42
.tox/
43
.nox/
44
.coverage
45
.coverage.*
S
Sam Clements 已提交
46
.cache
47
nosetests.xml
C
Changjian Gao 已提交
48
coverage.xml
Y
Younggun Kim 已提交
49
*.cover
50
*.py,cover
H
Hugo 已提交
51
.hypothesis/
52
.pytest_cache/
53
cover/
54

55
# Translations
56
*.mo
57
*.pot
K
Kevin Deldycke 已提交
58

C
Carl Suster 已提交
59 60
# Django stuff:
*.log
E
Edson Dota 已提交
61
local_settings.py
62
db.sqlite3
63
db.sqlite3-journal
J
Jordi Llonch 已提交
64

2
2Cubed 已提交
65
# Flask stuff:
H
Harrison G 已提交
66
instance/
2
2Cubed 已提交
67
.webassets-cache
H
Harrison G 已提交
68

C
Capi Etheriel 已提交
69 70 71
# Scrapy stuff:
.scrapy

J
Jordi Llonch 已提交
72 73
# Sphinx documentation
docs/_build/
74 75 76

# PyBuilder
target/
R
Richard K 已提交
77

78
# Jupyter Notebook
79
.ipynb_checkpoints
80

A
amigcamel 已提交
81
# IPython
82
profile_default/
A
amigcamel 已提交
83 84
ipython_config.py

R
Richard K 已提交
85
# pyenv
86 87 88
#   For a library or package, you might want to ignore these files since the code is
#   intended to run in multiple environments; otherwise, check them in:
# .python-version
89

J
Jarry Shaw 已提交
90 91 92
# pipenv
#   According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
#   However, in case of collaboration, if having platform-specific dependencies or dependencies
93
#   having no cross-platform support, pipenv may install dependencies that don't work, or not
J
Jarry Shaw 已提交
94 95 96
#   install all needed dependencies.
#Pipfile.lock

M
mrg0029 已提交
97
# PEP 582; used by e.g. github.com/David-OConnor/pyflow
98 99
__pypackages__/

P
Petronald Green 已提交
100
# Celery stuff
101
celerybeat-schedule
P
Petronald Green 已提交
102
celerybeat.pid
103

P
Pedro M. Sosa 已提交
104
# SageMath parsed files
105 106
*.sage.py

107
# Environments
R
roll 已提交
108
.env
M
Max 已提交
109
.venv
110
env/
111 112
venv/
ENV/
J
jwg4 已提交
113 114
env.bak/
venv.bak/
115

116 117
# Spyder project settings
.spyderproject
118
.spyproject
G
Greg Trahair 已提交
119 120 121

# Rope project settings
.ropeproject
122 123

# mkdocs documentation
124
/site
B
Brett Cannon 已提交
125 126 127

# mypy
.mypy_cache/
128
.dmypy.json
129
dmypy.json
130 131 132

# Pyre type checker
.pyre/
B
Brad Solomon 已提交
133 134 135

# pytype static type analyzer
.pytype/