Repository navigation
Added .gitattributes, CLAUDE.md, SECURITY.md, and .pylintrc (suggested by Claude Code) - #435
Merged
Merged
Conversation
yantosca
force-pushed
the
feature/claude-code
branch
from
August 27, 2026 13:47
7eb741a to
4402373
Compare
.gitattributes - Normalizes line endings for text files CLAUDE.md - Gives guidance to Claude Code AI SECURITY.md - Boilerplate text that tells users how security issues will be handled .pylintrc - Gives guidance to Pylint on how to check for Python style correctness Signed-off-by: Bob Yantosca <yantosca@seas.harvard.edu>
.github/PULL_REQUEST_TEMPLATE.md - Added "AI disclosure" section, asking the user to state if AI was used in the preparation of this PR. Signed-off-by: Bob Yantosca <yantosca@seas.harvard.edu>
CLAUDE.md - Updated as of GCPy 1.8.1 - Also added extra safety commands to tell Claude what not to do Signed-off-by: Bob Yantosca <yantosca@seas.harvard.edu>
yantosca
force-pushed
the
feature/claude-code
branch
from
September 15, 2026 14:06
4402373 to
8e0326a
Compare
This was referenced Sep 23, 2026
Merged
.gitattributes - Updated comments - Updated settings for linguist package CHANGELOG.md - Moved entries to Unreleased section after the 1.8.1 release CLAUDE.md - Updated by Claude Code SECURITY.md - Minor formatting updates, made by Claude Code docs/make.bat - Updated line endings to CR/LF for Windows gcpy/examples/dry-run/download_data.py - Use YAML safe loader Signed-off-by: Bob Yantosca <yantosca@seas.harvard.edu>
yantosca
force-pushed
the
feature/claude-code
branch
from
September 24, 2026 14:10
a65b53d to
31ce18f
Compare
.github/workflows/build-gcpy-environment*.yml .github/workflows/run-tests.yml - Give the GitHub token read-only access CHANGELOG.md - Updated accordingly Signed-off-by: Bob Yantosca <yantosca@seas.harvard.edu>
.github/dependabot.yml - Tells Dependabot to check once a month if any of the GitHub Actions (e.g. checkout) need updating. If so, will submit a bundled PR with the updates. CLAUDE.md - Updated to not break lines in paragraphs CHANGELOG.md - Updated accordingly Signed-off-by: Bob Yantosca <yantosca@seas.harvard.edu> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
yantosca
force-pushed
the
feature/claude-code
branch
from
September 24, 2026 15:18
5c2d613 to
ec28681
Compare
.github/workflows/codeql.yml - Added "actions" to the list of languages CHANGELOG.md - Updated accordingly Signed-off-by: Bob Yantosca <yantosca@seas.harvard.edu>
|
You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool. What Enabling Code Scanning Means:
For more information about GitHub Code Scanning, check out the documentation. |
release/v1 is a moving branch, and this step can publish geoschem-gcpy to PyPI, so it should run only code that has been reviewed. The SHA is the commit for v1.14.2, which release/v1 currently points to, so the action itself does not change. Dependabot's github-actions updates keep the SHA and its version comment current. .github/workflows/publish-python.yml - Use pypa/gh-action-pypi-publish@<SHA> # v1.14.2 instead of @release/v1 CHANGELOG.md - Updated accordingly Signed-off-by: Bob Yantosca <yantosca@seas.harvard.edu> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Name and Institution (Required)
Name: Bob Yantosca
Institution: Harvard + GCST
Describe the update
This PR adds repository configuration and guidance files:
.gitattributes*.batfiles, which stay CRLF. Marks binary formats such as.nc,.npy,.pdfand images as binary. Excludesdocs/andgcpy/examples/from GitHub's language statistics.CLAUDE.mdSECURITY.md.pylintrc__init__.py, and short scientific variable names..github/PULL_REQUEST_TEMPLATE.md.github/dependabot.ymlcheckout) need updating. If so, a PR containing proposed fixes will be opened for GCST review.It also includes these follow-up fixes, made after the 1.8.1 release:
docs/make.batandgcpy/benchmark/modules/GC_72_vertical_levels.csvhad been committed with CRLF line endings. They are now stored as LF, andmake.batis still checked out with CRLF. Their diffs show every line changed, but only the line endings differ.gcpy/examples/dry_run/download_data.py: Now reads its YAML config withyaml.safe_loadinstead ofyaml.load(..., Loader=yaml.FullLoader), and closes the file when done..github/workflows/run-tests.ymlandbuild-gcpy-environment-py31{2,3,4}.yml: Addedpermissions: contents: read, so every workflow now declares the access it needs. This makes it safe to switch the repo's default workflow token to read-only. Also shortened the ESMF/MPI comment inrun-tests.yml; the full explanation is inCLAUDE.md.### Expected changes
GCPy output is unchanged.
download_data.pyparsesdownload_data.ymlto the same result as before. The line-ending changes affect how the files are stored in Git, not their contents. CI should pass as before;zizmorreports no findings for the workflow changes.### Related Github Issue
### AI disclosure Claude Code (Claude Opus) helped prepare this PR. It suggested the new files, checked
CLAUDE.mdagainst the repository after the 1.8.1 release, and made the fixes listed above. All changes were reviewed by the author.