From da68eb57a1f88b02543950f623a64ec6186d2ab2 Mon Sep 17 00:00:00 2001 From: Waylan Limberg Date: Wed, 29 Aug 2018 15:08:02 -0400 Subject: Proper Python gitignore --- .gitignore | 86 +++++++++++++++++++++++++++++++++++++++++++++++++------------- 1 file changed, 69 insertions(+), 17 deletions(-) (limited to '.gitignore') diff --git a/.gitignore b/.gitignore index 96c6778..ef7b434 100644 --- a/.gitignore +++ b/.gitignore @@ -1,18 +1,70 @@ -.DS* -*.pyc -*.bak -*.swp -test-output.html -build/* -dist/* -tmp/* -site/* -MANIFEST -.venv -*~ -*#* -.tox/* +# Byte-compiled / optimized / DLL files +__pycache__/ +*.py[cod] +*$py.class + +# C extensions +*.so + +# Distribution / packaging +.Python +env/ +build/ +develop-eggs/ +dist/ +downloads/ +eggs/ +.eggs/ +lib/ +lib64/ +parts/ +sdist/ +var/ +*.egg-info/ +.installed.cfg +*.egg + +# 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/ .coverage -htmlcov/* -*komodo* -Markdown.egg-info/* \ No newline at end of file +.coverage.* +.cache +nosetests.xml +coverage.xml +*,cover +.hypothesis/ +test-output.html + +# Translations +*.mo +*.pot + +# Scrapy stuff: +.scrapy + +# PyBuilder +target/ + +# IPython Notebook +.ipynb_checkpoints + +# pyenv +.python-version + +# virtualenv +venv/ +ENV/ + +# MkDocs documentation +site/ -- cgit v1.2.3