Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update gitignore file to handle more data types #6

Open
bnord opened this issue Oct 1, 2023 · 1 comment
Open

Update gitignore file to handle more data types #6

bnord opened this issue Oct 1, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@bnord
Copy link
Contributor

bnord commented Oct 1, 2023

sources:

  1. https://github.com/github/gitignore/blob/main/Python.gitignore
  2. https://github.com/aws-samples/python-data-science-template/blob/main/.gitignore
# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
__pypackages__/

.DS_Store

# Environments
.env
.venv
env/
venv/
ENV/
env.bak/
venv.bak/
# IPython
profile_default/
ipython_config.py
# pyenv
#   For a library or package, you might want to ignore these files since the code is
#   intended to run in multiple environments; otherwise, check them in:
# .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

# poetry
#   Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
#   This is especially recommended for binary packages to ensure reproducibility, and is more
#   commonly ignored for libraries.
#   https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
#poetry.lock

# Distribution / packaging
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
share/python-wheels/
*.egg-info/
.installed.cfg
*.egg
MANIFEST
# Installer logs
pip-log.txt
pip-delete-this-directory.txt

# Unit test / coverage reports
htmlcov/
.tox/
.nox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*.cover
*.py,cover
.hypothesis/
.pytest_cache/
cover/
# IDE
.c9/
.idea/
.spyproject
.spyderproject
.ropeproject
.vscode

@bnord bnord added the enhancement New feature or request label Oct 1, 2023
@humnaawan
Copy link
Collaborator

are you wanting to put all this in .gitignore even when the file types don't exist? I normally add to .gitignore as the code repo evolves - as then I know whats ignored; the current file reflects what I'm currently wanting to ignore.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants