diff --git a/.changes/unreleased/Chore-20240709-115016.yaml b/.changes/unreleased/Chore-20240709-115016.yaml new file mode 100644 index 0000000..cb099d0 --- /dev/null +++ b/.changes/unreleased/Chore-20240709-115016.yaml @@ -0,0 +1,3 @@ +kind: Chore +body: Add `stage_fix` to lefthook hooks +time: 2024-07-09T11:50:16.68638+02:00 diff --git a/lefthook.yaml b/lefthook.yaml index bf7201a..f8ca36e 100644 --- a/lefthook.yaml +++ b/lefthook.yaml @@ -2,8 +2,10 @@ pre-commit: commands: ruff-format: run: "hatch run dev:ruff format" + stage_fixed: true ruff-lint: run: "hatch run dev:ruff check --fix" + stage_fixed: true pyright: run: "hatch run dev:basedpyright"