Skip to content

Instantly share code, notes, and snippets.

@rogerpence
Last active April 23, 2020 03:07
Embed
What would you like to do?
.gitignore for Python/Django/Node
######################
# Python #
######################
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class
core/settings_*.py
# C extensions
*.so
# Distribution / packaging
.Python
env/
#build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
*.egg-info/
.installed.cfg
*.egg
# PyInstaller
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec
# 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
# Django stuff:
*.log
local_settings.py
# Flask instance folder
instance/
# Scrapy stuff:
.scrapy
# Sphinx documentation
docs/_build/
# PyBuilder
target/
# IPython Notebook
.ipynb_checkpoints
# pyenv
.python-version
# celery beat schedule file
celerybeat-schedule
# dotenv
.env
# virtualenv
venv/
ENV/
# Spyder project settings
.spyderproject
# Others
.project
.settings
.classpath
.idea
######################
# Node #
######################
# Logs
logs
*.log
npm-debug.log*
# Runtime data
pids
*.pid
*.seed
# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov
# Coverage directory used by tools like istanbul
coverage
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt
# node-waf configuration
.lock-wscript
# Compiled binary addons (http://nodejs.org/api/addons.html)
build/Release
# Dependency directories
node_modules
jspm_packages
# Optional npm cache directory
.npm
# Optional REPL history
.node_repl_history
######################
# Editor files #
######################
idea
.vscode
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw*
######################
# OS generated files #
######################
__MACOSX
.DS_Store
._*
.Spotlight-V100
.Trashes
ehthumbs.db
Thumbs.db
############
# Packages #
############
# it's better to unpack these files and commit the raw source
# git has its own built in compression methods
*.7z
*.dmg
*.gz
*.iso
*.jar
*.rar
*.tar
*.zip
.DS_Store
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment