Skip to content

Repo maintenance: remove un-needed compiled Python byte code and update gitignore to prevent accidental commiting of temp files - #445

Merged
mrshll1001 merged 2 commits into
mainfrom
mm-update-gitignore
Jul 15, 2026
Merged

Repo maintenance: remove un-needed compiled Python byte code and update gitignore to prevent accidental commiting of temp files#445
mrshll1001 merged 2 commits into
mainfrom
mm-update-gitignore

Conversation

@mrshll1001

Copy link
Copy Markdown
Contributor

This PR updates the gitignore and also removes the .pyc files
already committed to the repository.

The updates to the .gitignore consist of an explicit ignore for
the documentation/extras/extensions directory and content recommended
for Python projects from:

https://www.toptal.com/developers/gitignore/api/python

This content should not be included in the repository because it
comprises of dynamically generated python byte code, and the content in
documentation/extras/extensions is also dynamically added at run time
and is not governed as part of the Standard.

Some .pyc files were already added to the project erroneously, so this
commit removes them. They are artifacts from the build process and not
content for the Standard or the Docs.

The updates to the .gitignore prevents these files from being committed
to the repository by accident in the future.

This makes Standard maintenance cleaner and easier going forward.

Since this is internal repository maintenance and doesn't touch the Standard or the Docs content, I don't think this requires approval by the SC or PATCH process, however it'd be good if someone from the 360Giving team could give this approval.

This commit updates the gitignore and also removes the .pyc files
already committed to the repository.

The updates to the .gitignore consist of an explicit ignore for
the `documentation/extras/extensions` directory and content recommended
for Python projects from:

https://www.toptal.com/developers/gitignore/api/python

This content should not be included in the repository because it
comprises of dynamically generated python byte code, and the content in
documentation/extras/extensions is also dynamically added at run time
and is not governed as part of the Standard.

Some .pyc files were already added to the project erroneously, so this
commit removes them. They are artifacts from the build process and not
content for the Standard or the Docs.

The updates to the .gitignore prevents these files from being committed
to the repository by accident in the future.
@mariongalley

Copy link
Copy Markdown
Contributor

@mrshll1001 Agreed this does not trigger a PATCH or require approval from 360Giving staff or Stewardship Committee

@mrshll1001
mrshll1001 merged commit 9387abc into main Jul 15, 2026
4 checks passed
@mrshll1001
mrshll1001 deleted the mm-update-gitignore branch July 15, 2026 09:50
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.

3 participants