Skip to content

chore: untrack compiled __pycache__/*.pyc files - #21

Closed
Mearman wants to merge 1 commit into
mainfrom
fix/untrack-pycache-files
Closed

Mearman wants to merge 1 commit into
mainfrom
fix/untrack-pycache-files

Conversation

@Mearman

@Mearman Mearman commented Aug 12, 2026

Copy link
Copy Markdown
Collaborator

Fixes #20.

pywr_utils/pycache/*.pyc has been tracked in git since before pycache/ was added to .gitignore -- the ignore rule doesn't retroactively untrack files already committed, so they've stayed tracked and kept showing as modified on any local test run.

git rm --cached on the four tracked files, nothing else changed.

They were committed before __pycache__/ was added to .gitignore, so the
ignore rule never took retroactive effect. Removed from tracking only,
left on disk.
@Mearman

Mearman commented Sep 17, 2026

Copy link
Copy Markdown
Collaborator Author

Superseded by #30 in a stacked chain (#29 -> #30 -> #31 -> #32 -> #33).

@Mearman Mearman closed this Sep 17, 2026
auto-merge was automatically disabled September 17, 2026 02:59

Pull request was closed

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.

pywr_utils/__pycache__/*.pyc files are tracked in git

3 participants