Skip to content

Commit

Permalink
refactor: restructure .gitignore
Browse files Browse the repository at this point in the history
Reformat .gitignore: consolidate/group entries,
(re)use dir formatting from sample Python.gitignore,
add comments. + Add .python-version for working with Pyenv.
  • Loading branch information
keikoro committed May 27, 2024
1 parent 3681cd4 commit 39fde8c
Showing 1 changed file with 40 additions and 37 deletions.
77 changes: 40 additions & 37 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,30 +1,47 @@
# Partially based on
# https://github.com/github/gitignore/blob/main/Python.gitignore

# OS-specific
.DS_Store

# IDEs
.idea
.project
.pydevproject
.sublime-project
.vscode

# Python dev tooling
.mr.developer.cfg
.python-version

# Cache, temp. files
__pycache__
.cache/
*.py[cod]
*~

# C extensions
*.so

# Packages
*.egg
*.egg-info
*.tar.gz
dist
build
eggs
.eggs
parts
bin
var
sdist
develop-eggs
# Distribution / packaging
build/
develop-eggs/
dist/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
*.egg-info/
.installed.cfg
lib
lib64
__pycache__
.cache/
.vscode
*.egg

# Sublime
.sublime-project
# System misc.
bin
*.tar.gz

# Installer logs
pip-log.txt
Expand All @@ -37,25 +54,11 @@ nosetests.xml
# Translations
*.mo

# Mr Developer
.mr.developer.cfg
.project
.pydevproject

# Temp files
*~

# Pipy codes
.pypirc

# Mac
.DS_Store

# JetBrains
.idea

# Tests
tests/media

# Documentation
docs/build/

# Publishing
.pypirc

0 comments on commit 39fde8c

Please sign in to comment.