Skip to content

Commit

Permalink
refactor: update, reformat .gitignore
Browse files Browse the repository at this point in the history
Restructure .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 e4c1a09 commit 0f6f6d4
Showing 1 changed file with 44 additions and 41 deletions.
85 changes: 44 additions & 41 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,61 +1,64 @@
# 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

# Unit test / coverage reports
.tox/
.coverage
.tox
nosetests.xml

# Media files for testing
tests/media/

# 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

1 comment on commit 0f6f6d4

@miarealbert

This comment was marked as spam.

Please sign in to comment.