Skip to content

Extend .gitignore with the standard Python template #705

@EthicalCha0s

Description

@EthicalCha0s

While working through the notebooks locally I noticed the repo doesn’t ignore typical Python artifacts. Creating a .venv/ or even running a notebook drops a bunch of pycache/ and .ipynb_checkpoints/ paths into git status, which makes it easy to stage them by accident.

Could we extend the existing .gitignore with the standard Python template from GitHub’s collection (https://github.com/github/gitignore/blob/main/Python.gitignore)? That would automatically cover venvs, bytecode caches, notebook checkpoints, etc. I’m happy to open a PR that appends those entries if that sounds good.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions