Skip to content

Commit d210539

Browse files
fix: Run mypy in py311 environment to fix numpy stub issue
1 parent def6209 commit d210539

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ repos:
66
# workaround for https://github.com/prefix-dev/pixi/issues/1482
77
- id: pixi-install
88
name: pixi-install
9-
entry: pixi install -e default -e lint
9+
entry: pixi install -e default -e lint -e py311
1010
language: system
1111
always_run: true
1212
require_serial: true
@@ -52,7 +52,7 @@ repos:
5252
# mypy
5353
- id: mypy
5454
name: mypy
55-
entry: pixi run -e default mypy
55+
entry: pixi run -e py311 mypy
5656
language: system
5757
types_or: [python, pyi]
5858
require_serial: true

0 commit comments

Comments
 (0)