Skip to content

Inline pre-commit linting#7539

Merged
nateprewitt merged 2 commits into
mainfrom
inline-precommit-job
Jun 24, 2026
Merged

Inline pre-commit linting#7539
nateprewitt merged 2 commits into
mainfrom
inline-precommit-job

Conversation

@nateprewitt

Copy link
Copy Markdown
Member

This PR moves us off of https://github.com/pre-commit/action to running pre-commit directly. This should avoid the transitive dependency pinning issues from #7536.

I've also reduced our pin update frequency for pre-commit to minor versions since we're getting weekly dependabot updates that aren't necessary. This matches our existing constraints for other ecosystems.

- name: Run pre-commit
uses: pre-commit/action@646c83fcd040023954eafda54b4db0192ce70507 # v3.0.0
run: |
python -m pip install pre-commit==4.6.0

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We could add this to a dependency group or in a requirements file. I'm not sure it's important/needed though, and I'd rather not add another requirements setup to manage.

@nateprewitt nateprewitt merged commit 74c56d5 into main Jun 24, 2026
61 checks passed
@nateprewitt nateprewitt deleted the inline-precommit-job branch June 24, 2026 22:40
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