Bladeren bron

Make Python .gitignore directory entries match only directories.

This commit also alphabetizes the distribution/packaging section after
separating the directory entries from the file entries.  I left alone
a few entries that I'm not sure about (i.e. *.egg and the
"Mr Developer" section).
Chris Jerdonek 12 jaren geleden
bovenliggende
commit
c038e773de
1 gewijzigde bestanden met toevoegingen van 15 en 15 verwijderingen
  1. 15 15
      Python.gitignore

+ 15 - 15
Python.gitignore

@@ -1,31 +1,31 @@
 # Byte-compiled / optimized / DLL files
+__pycache__/
 *.py[cod]
 
 # C extensions
 *.so
 
-# Packages
-*.egg
-*.egg-info
-dist
-build
-eggs
-parts
-bin
-var
-sdist
-develop-eggs
+# Distribution / packaging
+bin/
+build/
+develop-eggs/
+dist/
+eggs/
+lib/
+lib64/
+parts/
+sdist/
+var/
+*.egg-info/
 .installed.cfg
-lib
-lib64
-__pycache__
+*.egg
 
 # Installer logs
 pip-log.txt
 
 # Unit test / coverage reports
+.tox/
 .coverage
-.tox
 nosetests.xml
 
 # Translations