Skip to content

[WIP] Add pre-commit and lint workflow#2251

Draft
peytondmurray wants to merge 3 commits intotensorflow:masterfrom
peytondmurray:26-lint-workflow
Draft

[WIP] Add pre-commit and lint workflow#2251
peytondmurray wants to merge 3 commits intotensorflow:masterfrom
peytondmurray:26-lint-workflow

Conversation

@peytondmurray
Copy link
Copy Markdown

@peytondmurray peytondmurray commented Sep 18, 2024

This PR adds a workflow to run pre-commit on every PR; a sensible initial set of pre-commit hooks is also included, and a new optional dependency has been added for pre-commit.

Currently blocked until #2252 #4119 is merged, at which point the this will be marked as ready for review, and the lint workflow should run successfully.

Later on, we'll want to start re-enabling various rules and cleaning up rule violations.

@peytondmurray peytondmurray marked this pull request as draft September 18, 2024 22:30
@peytondmurray peytondmurray changed the title Add pre-commit and lint workflow Sep 18, 2024
Copy link
Copy Markdown
Member

@smokestacklightnin smokestacklightnin left a comment

Choose a reason for hiding this comment

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

@peytondmurray I made two changes, fyi

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants