From 75c247216e38e945d5f20eadf38c2c5473c001b7 Mon Sep 17 00:00:00 2001 From: Claudius Heine Date: Wed, 28 Jun 2017 14:48:45 +0200 Subject: [PATCH] Expanded and documented .gitignore The current .gitignore is very specific to the project in the current form and developing process and not commented. This patch uses a more generic and commented .gitignore for python base projects that should fit all future needs. Signed-off-by: Claudius Heine --- .gitignore | 65 ++++++++++++++++++++++++++++++++++++++++++++++++------ 1 file changed, 58 insertions(+), 7 deletions(-) diff --git a/.gitignore b/.gitignore index 02d54bb..635372f 100644 --- a/.gitignore +++ b/.gitignore @@ -1,7 +1,58 @@ -*.pyc -build -ebs-yocto -ebs-yocto_dependencies -kas-* -kas.egg-info -.vscode +### Python ### +# Byte-compiled / optimized / DLL files +__pycache__/ +*.py[cod] +*$py.class + +# Distribution / packaging +.Python +env/ +build/ +develop-eggs/ +dist/ +downloads/ +eggs/ +.eggs/ +lib/ +lib64/ +parts/ +sdist/ +var/ +wheels/ +*.egg-info/ +.installed.cfg +*.egg + +# Installer logs +pip-log.txt +pip-delete-this-directory.txt + +# Unit test / coverage reports +htmlcov/ +.tox/ +.coverage +.coverage.* +.cache +nosetests.xml +coverage.xml +*,cover +.hypothesis/ + +# Translations +*.mo +*.pot + +# Sphinx documentation +docs/_build/ + +# pyenv +.python-version + +# dotenv +.env + +# virtualenv +.venv +venv/ +ENV/ +