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

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

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

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

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

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

# PyBuilder
target/
R
Richard K 已提交
76

77
# Jupyter Notebook
78
.ipynb_checkpoints
79

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

R
Richard K 已提交
84
# pyenv
85 86 87
#   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
88

J
Jarry Shaw 已提交
89 90 91
# 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
92
#   having no cross-platform support, pipenv may install dependencies that don't work, or not
J
Jarry Shaw 已提交
93 94 95
#   install all needed dependencies.
#Pipfile.lock

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

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

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

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

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

# Rope project settings
.ropeproject
121 122

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

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

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

# pytype static type analyzer
.pytype/