Skip to content

Commit c038e77

Browse files
committed
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).
1 parent b65855e commit c038e77

1 file changed

Lines changed: 15 additions & 15 deletions

File tree

Python.gitignore

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,31 @@
11
# Byte-compiled / optimized / DLL files
2+
__pycache__/
23
*.py[cod]
34

45
# C extensions
56
*.so
67

7-
# Packages
8-
*.egg
9-
*.egg-info
10-
dist
11-
build
12-
eggs
13-
parts
14-
bin
15-
var
16-
sdist
17-
develop-eggs
8+
# Distribution / packaging
9+
bin/
10+
build/
11+
develop-eggs/
12+
dist/
13+
eggs/
14+
lib/
15+
lib64/
16+
parts/
17+
sdist/
18+
var/
19+
*.egg-info/
1820
.installed.cfg
19-
lib
20-
lib64
21-
__pycache__
21+
*.egg
2222

2323
# Installer logs
2424
pip-log.txt
2525

2626
# Unit test / coverage reports
27+
.tox/
2728
.coverage
28-
.tox
2929
nosetests.xml
3030

3131
# Translations

0 commit comments

Comments
 (0)