Skip to content

Commit 49db60a

Browse files
authored
Update .gitignore to follow Python.gitignore (#689)
* Update .gitignore to follow Python.gitignore best practices * Remove C extensions from .gitignore
1 parent d562e6c commit 49db60a

File tree

1 file changed

+128
-14
lines changed

1 file changed

+128
-14
lines changed

.gitignore

Lines changed: 128 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,139 @@
1-
*.pyc
2-
*.egg-info
3-
docs/_build
4-
docs/build
1+
# Byte-compiled / optimized / DLL files
2+
__pycache__/
3+
*.py[cod]
4+
*$py.class
5+
6+
# Distribution / packaging
7+
.Python
58
build/
9+
develop-eggs/
610
dist/
7-
.idea/
8-
log.*
9-
log
11+
downloads/
12+
eggs/
13+
.eggs/
14+
lib/
15+
lib64/
16+
parts/
17+
sdist/
18+
var/
19+
*.egg-info/
20+
.installed.cfg
21+
*.egg
22+
MANIFEST
23+
24+
# PyInstaller
25+
*.manifest
26+
*.spec
27+
28+
# Installer logs
29+
distutils.log
30+
pip-log.txt
31+
pip-delete-this-directory.txt
32+
33+
# Unit test / coverage reports
34+
htmlcov/
35+
.tox/
36+
.nox/
1037
.coverage
38+
.coverage.*
39+
.cache
40+
nosetests.xml
41+
coverage.xml
42+
*.cover
43+
.hypothesis/
44+
.pytest_cache/
45+
46+
# Translations
47+
*.mo
48+
*.pot
49+
50+
# Django stuff:
51+
*.log
52+
local_settings.py
53+
db.sqlite3
54+
db.sqlite3-journal
55+
56+
# Flask stuff:
57+
instance/
58+
.webassets-cache
59+
60+
# Scrapy stuff:
61+
.scrapy
62+
63+
# Sphinx documentation
64+
docs/_build/
65+
docs/build/
66+
67+
# PyBuilder
68+
.target/
69+
70+
# Jupyter Notebook
71+
.ipynb_checkpoints
72+
73+
# IPython
74+
profile_default/
75+
ipython_config.py
76+
77+
# pyenv
78+
.python-version
79+
80+
# pipenv
81+
# Pipfile.lock
82+
83+
# poetry
84+
# poetry.lock
85+
86+
# pdm
87+
__pypackages__/
88+
89+
# Celery stuff
90+
celerybeat-schedule
91+
celerybeat.pid
92+
93+
# SageMath parsed files
94+
*.sage.py
95+
96+
# Environments
97+
.env
98+
.venv
99+
env/
100+
venv/
101+
ENV/
102+
env.bak/
103+
venv.bak/
104+
105+
# Spyder project settings
106+
.spyderproject
107+
.spyproject
108+
109+
# Rope project settings
110+
.ropeproject
111+
112+
# mkdocs documentation
113+
/site
114+
115+
# mypy
116+
.mypy_cache/
117+
.dmypy.json
118+
.dmypy-working/
119+
120+
# Editor and IDE settings
121+
.idea/
122+
.vscode/
123+
124+
# OS and swap files
11125
.DS_Store
12126
*.swp
13127
*.swo
14-
.cache/
15-
.pytest_cache
16-
docs/source/generated
128+
129+
# Certificate and key files
130+
ca.pem
131+
key.pem
132+
*.out
133+
134+
# Project-specific files
17135
dask-worker-space/
18136
ci/slurm/environment.yml
19137
ci/pbs/environment.yml
20138
ci/sge/environment.yml
21139
ci/htcondor/environment.yml
22-
.vscode/
23-
ca.pem
24-
key.pem
25-
*.out

0 commit comments

Comments
 (0)