Skip to content

Run pre-commit on all files - #16936

Merged
seanbudd merged 7 commits into
masterfrom
runPreCommit
Aug 1, 2024
Merged

Run pre-commit on all files#16936
seanbudd merged 7 commits into
masterfrom
runPreCommit

Conversation

@seanbudd

@seanbudd seanbudd commented Aug 1, 2024

Copy link
Copy Markdown
Member
  • Update Ruff to 0.5.5
  • Fix E721, as now detected by ruff
  • Run ruff format
  • Add trailing commas
  • Fix whitespaces (trailing, end of file new lines)
  • Update .git-blame-ignore-revs with these commits

@seanbudd
seanbudd requested review from a team as code owners August 1, 2024 00:52
@seanbudd seanbudd mentioned this pull request Aug 1, 2024
5 tasks
@AppVeyorBot

Copy link
Copy Markdown

See test results for failed build of commit 036d469d27

@seanbudd
seanbudd merged commit 07f6d3c into master Aug 1, 2024
@seanbudd
seanbudd deleted the runPreCommit branch August 1, 2024 01:32
seanbudd added a commit that referenced this pull request Aug 1, 2024
Part of #10516

Summary of the issue:
As a developer, I would like automation tools to fix the lint of my code when I open a PR.
After #16936, we have applied pre-commit on all files. However, there are no automation checks for some of these checks (like whitespaces changes). Which means without running pre-commit automatically, the repository may have pre-commit regressions.

Description of user facing changes
Improved documentation for pre-commit hooks and the PR contribution process.

Description of development approach
Setup Pre-commit CI. This is a CI/CD tool to automatically apply pre-commit to PRs.
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