Skip to content

Add venv/ and .venv/ to .gitignore#645

Closed
bizfsc wants to merge 1 commit intocanopen-python:masterfrom
bizfsc:gitignore-venv
Closed

Add venv/ and .venv/ to .gitignore#645
bizfsc wants to merge 1 commit intocanopen-python:masterfrom
bizfsc:gitignore-venv

Conversation

@bizfsc
Copy link
Copy Markdown
Contributor

@bizfsc bizfsc commented Apr 29, 2026

Add venv/ and .venv/ directories to .gitignore so that local virtual environments are not accidentally tracked.

@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 29, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@acolomb
Copy link
Copy Markdown
Member

acolomb commented Apr 29, 2026

Please use local ignores for such things. There is no code in the repo to create these artifacts, thus I do not want to litter the curated ignore list with random stuff used by some developers. Let's keep it for generated stuff that is expected because of what the committed code does.

See here:
https://docs.github.com/en/get-started/git-basics/ignoring-files#excluding-local-files-without-creating-a-gitignore-file

Maybe even:
https://docs.github.com/en/get-started/git-basics/ignoring-files#configuring-ignored-files-for-all-repositories-on-your-computer

@acolomb acolomb closed this Apr 29, 2026
@bizfsc
Copy link
Copy Markdown
Contributor Author

bizfsc commented Apr 29, 2026

I am fine with this. I just though I add this because there were already some added lines.

@bizfsc bizfsc deleted the gitignore-venv branch April 29, 2026 08:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants