Repository navigation
Update Pre-Commit and GH Actions Versions - #904
Merged
johnjasa merged 9 commits intoOct 6, 2026
Merged
Conversation
johnjasa
approved these changes
Oct 6, 2026
johnjasa
left a comment
Collaborator
There was a problem hiding this comment.
Thanks for this, @RHammond2! and for handling some of these last changes by hand too. I'm good with just ignoring the package name clash for now, don't even need an issue imo, can tackle it if/when we see fit.
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.
Update Pre-Commit and GH Actions Versions
This PR is simply to provide some updates to the GH Actions versioning and to the versions of packages used in the pre-commit workflows as part of a routine maintenance update when I notice there have been updates to underlying systems. There are quite a few updates to the ruff defaults as we're jumping 8 minor versions (and 4 major in isort), so the automated updates and manual fixes are applied to a single commit to reduce clutter.
Section 1: Type of Contribution
Section 2: Draft PR Checklist
TODO:
Type of Reviewer Feedback Requested (on Draft PR)
Structural feedback:
Implementation feedback:
Other feedback:
Section 3: General PR Checklist
docs/files are up-to-date, or added when necessaryCHANGELOG.md"A complete thought. [PR XYZ]((https://github.com/NatLabRockies/H2Integrate/pull/XYZ)", where
XYZshould be replaced with the actual number.Section 4: Related Issues
N/A, regular maintenance update
Section 5: Impacted Areas of the Software
Section 5.1: New Files
N/A
Section 5.2: Modified Files
Most files have been modified to some degree to maintain adherence to the updated ruff/isort/pre-commit settings. Those changes will not be outlined here for the everyone's sanity. In addition they're all compiled into a single commit that's been added to the
.git-blame-ignore-revsfile to ensure only relevant changes are shown in git blame..github/workflowsci.yml,publish_to_pypi.yml,publish_to_test_pypi.yml:actions/checkout: v6 -> v7actions/setup-python: v6 -> v7ci.yml:actions/checkout: v6 -> v7conda-incubator/setup-miniconda: added channels to matchenvironment.ymland suppress a raised warning/debug message in the Actions interfacepyproject.tomlresourceand Python standard libraryresource)Section 6: Additional Supporting Information
Section 7: Test Results, if applicable
Section 8 (Optional): New Model Checklist
docs/developer_guide/coding_guidelines.mdattrsclass to define theConfigto load in attributes for the modelBaseConfigorCostModelBaseConfiginitialize()method,setup()method,compute()methodCostModelBaseClass__init__.pyfile to ensure it is properly imported and used insupported_models.pysupported_models.pycreate_financial_modelinh2integrate_model.pytest_all_examples.pydocs/user_guide/model_overview.mddocs/section<model_name>.mdis added to the_toc.ymlgenerate_class_hierarchy.pyto update the class hierarchy diagram indocs/developer_guide/class_structure.md