Skip to content

Commit

Permalink
Update gitignore (#139)
Browse files Browse the repository at this point in the history
* Update gitignore

Main motivation for this is adding .venv/

* Fix license

* Fix typo in .gitignore

* Remove extraneous entries from gitignore

* Comment out lib/ and lib64/ in gitignore

These could be used for other purposes besides Python distribution.

* Re-add Sphinx docs to gitignore

Co-authored-by: El Laggron <laggron42@gmail.com>
  • Loading branch information
nfitzen and laggron42 committed Feb 5, 2021
1 parent fcdedb8 commit d199b84
Showing 1 changed file with 161 additions and 22 deletions.
183 changes: 161 additions & 22 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,22 +1,161 @@
# Python executables
*.pyc
__pycache__

# Mac folders
.DS_Store

# VScode properties
.vscode

# JetBrains IDE properties
.idea

# pipenv
Pipfile

# Sphinx docs
.build
_build

# pygettext
*.mo
# SPDX-FileCopyrightText: 2017 Version Control System Fund
#
# SPDX-License-Identifier: MIT
# SPDX-License-Identifier: GPL-3.0-only

# the following is licensed under GPL-3.0-only:

# Python executables
*.pyc

# pipenv
Pipfile

# JetBrains IDE properties
.idea/

# Sphinx docs
.build
_build

# pygettext
*.mo

# the following is licensed under the Expat/MIT license:

# Created by https://www.toptal.com/developers/gitignore/api/macos,linux,python,windows,visualstudiocode
# Edit at https://www.toptal.com/developers/gitignore?templates=macos,linux,python,windows,visualstudiocode

### GNU/Linux ###
*~

# temporary files which can be created if a process still has a handle open of a deleted file
.fuse_hidden*

# KDE directory preferences
.directory

# GNU/Linux trash folder which might appear on any partition or disk
.Trash-*

# .nfs files are created when an open file is removed but is still being accessed
.nfs*

### macOS ###
# General
.DS_Store
.AppleDouble
.LSOverride

# Icon must end with two \r
Icon


# Thumbnails
._*

# Files that might appear in the root of a volume
.DocumentRevisions-V100
.fseventsd
.Spotlight-V100
.TemporaryItems
.Trashes
.VolumeIcon.icns
.com.apple.timemachine.donotpresent

# Directories potentially created on remote AFP share
.AppleDB
.AppleDesktop
Network Trash Folder
Temporary Items
.apdisk

### Python ###
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class

# C extensions
*.so

# # Distribution / packaging
# lib/
# lib64/

# Unit test / coverage reports
htmlcov/
.tox/
.nox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*.cover
*.py,cover
.hypothesis/
.pytest_cache/
pytestdebug.log

# Jupyter Notebook
.ipynb_checkpoints

# IPython
profile_default/
ipython_config.py

# pyenv
.python-version

# pipenv
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
# However, in case of collaboration, if having platform-specific dependencies or dependencies
# having no cross-platform support, pipenv may install dependencies that don't work, or not
# install all needed dependencies.
#Pipfile.lock

# PEP 582; used by e.g. github.com/David-OConnor/pyflow
__pypackages__/

# Environments
.env
.venv
env/
venv/
ENV/
env.bak/
venv.bak/
pythonenv*

### VisualStudioCode ###
.vscode/*
!.vscode/tasks.json
!.vscode/launch.json
*.code-workspace

### VisualStudioCode Patch ###
# Ignore all local history of files
.history
.ionide

### Windows ###
# Windows thumbnail cache files
Thumbs.db
Thumbs.db:encryptable
ehthumbs.db
ehthumbs_vista.db

# Dump file
*.stackdump

# Folder config file
[Dd]esktop.ini

# Recycle Bin used on file shares
$RECYCLE.BIN/

# Windows shortcuts
*.lnk

# End of https://www.toptal.com/developers/gitignore/api/macos,linux,python,windows,visualstudiocode

0 comments on commit d199b84

Please sign in to comment.