Skip to content
Permalink
Browse files

Add other common Python gitignore patterns (#907)

* Add other common Python gitignore patterns

* Update .gitignore
  • Loading branch information...
terrytangyuan committed Jul 12, 2019
1 parent 9984b50 commit 426046c46f2f7c68105bfcedc7cc4a31a4bf69a4
Showing with 91 additions and 7 deletions.
  1. +91 −7 .gitignore
@@ -1,13 +1,97 @@
.vscode/
.idea/
*.pyc
bazel-*
build/
# Proto files
*_pb2.py
*_pb2_grpc.py
*.pb.go

# System files
*~
.DS_Store
.mypy_cache/
.pytest_cache/

# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class

# C extensions
*.so

# Distribution / packaging
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
pip-wheel-metadata/
share/python-wheels/
*.egg-info/
.installed.cfg
*.egg
MANIFEST

# PyInstaller
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec

# Installer logs
pip-log.txt
pip-delete-this-directory.txt

# Unit test / coverage reports
htmlcov/
.tox/
.nox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*.cover
.hypothesis/
.pytest_cache/

# Jupyter Notebook
.ipynb_checkpoints

# IPython
profile_default/
ipython_config.py

# pyenv
.python-version

# Environments
.env
.venv
env/
venv/
ENV/
env.bak/
venv.bak/

# Spyder project settings
.spyderproject
.spyproject

# Rope project settings
.ropeproject

# VSCode settings
.vscode/

# PyCharm settings
.idea/

# mypy
.mypy_cache/
.dmypy.json
dmypy.json

0 comments on commit 426046c

Please sign in to comment.
You can’t perform that action at this time.