Skip to content

Commit

Permalink
[pre-commit] Only run pyright in pre-push (#22525)
Browse files Browse the repository at this point in the history
Internal companion PR: dagster-io/internal#10219

## Summary & Motivation

Currently pre-commit will run all of our defined hooks pre-push. There
is no point re-running hooks that also run pre-commit. This PR makes it
so that only the pyright hook runs pre-push.

## How I Tested These Changes

Pushed and observed executed hooks
  • Loading branch information
smackesey authored Jun 25, 2024
1 parent 190f5de commit 2893192
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
default_stages: [pre-commit] # don't run on push by default
repos:
- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: v0.4.5
Expand Down

0 comments on commit 2893192

Please sign in to comment.