File tree Expand file tree Collapse file tree 3 files changed +10
-10
lines changed
Expand file tree Collapse file tree 3 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 3030
3131 - name : " Lint"
3232 run : |
33- uv run --all-extras --python=${{ matrix.python-version }} pre-commit run --all-files --hook-stage commit --verbose
34- uv run --all-extras --python=${{ matrix.python-version }} pre-commit run --all-files --hook-stage push --verbose
33+ uv run --all-extras --python=${{ matrix.python-version }} pre-commit run --all-files --hook-stage pre- commit --verbose
34+ uv run --all-extras --python=${{ matrix.python-version }} pre-commit run --all-files --hook-stage pre- push --verbose
3535 uv run --all-extras --python=${{ matrix.python-version }} pre-commit run --all-files --hook-stage manual --verbose
3636
3737 - name : " Run tests"
Original file line number Diff line number Diff line change 9898
9999 - id : mypy
100100 name : mypy
101- stages : [push]
101+ stages : [pre- push]
102102 entry : uv run --extra=dev -m mypy .
103103 language : python
104104 types_or : [python, toml]
@@ -107,23 +107,23 @@ repos:
107107
108108 - id : mypy-docs
109109 name : mypy-docs
110- stages : [push]
110+ stages : [pre- push]
111111 entry : uv run --extra=dev doccmd --language=python --command="mypy"
112112 language : python
113113 types_or : [markdown, rst, python, toml]
114114 additional_dependencies : ["uv"]
115115
116116 - id : check-manifest
117117 name : check-manifest
118- stages : [push]
118+ stages : [pre- push]
119119 entry : uv run --extra=dev -m check_manifest .
120120 language : python
121121 pass_filenames : false
122122 additional_dependencies : ["uv"]
123123
124124 - id : pyright
125125 name : pyright
126- stages : [push]
126+ stages : [pre- push]
127127 entry : uv run --extra=dev -m pyright .
128128 language : python
129129 types_or : [python, toml]
@@ -132,7 +132,7 @@ repos:
132132
133133 - id : pyright-docs
134134 name : pyright-docs
135- stages : [push]
135+ stages : [pre- push]
136136 entry : uv run --extra=dev doccmd --language=python --command="pyright"
137137 language : python
138138 types_or : [markdown, rst, python, toml]
@@ -269,7 +269,7 @@ repos:
269269
270270 - id : pyright-verifytypes
271271 name : pyright-verifytypes
272- stages : [push]
272+ stages : [pre- push]
273273 entry : uv run --extra=dev -m pyright --verifytypes vws
274274 language : python
275275 pass_filenames : false
Original file line number Diff line number Diff line change @@ -40,8 +40,8 @@ Run lint tools either by committing, or with:
4040
4141.. code-block :: console
4242
43- $ pre-commit run --all-files --hook-stage commit --verbose
44- $ pre-commit run --all-files --hook-stage push --verbose
43+ $ pre-commit run --all-files --hook-stage pre- commit --verbose
44+ $ pre-commit run --all-files --hook-stage pre- push --verbose
4545 $ pre-commit run --all-files --hook-stage manual --verbose
4646
4747 .. _Homebrew : https://brew.sh
You can’t perform that action at this time.
0 commit comments