Skip to content

Commit c80663e

Browse files
committed
STY: Bump pyright, pyupgrade and mypy for new PEP-696 syntax
1 parent a0f9140 commit c80663e

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ repos:
7474
hooks:
7575
- id: isort
7676
- repo: https://github.com/asottile/pyupgrade
77-
rev: v3.16.0
77+
rev: v3.17.0
7878
hooks:
7979
- id: pyupgrade
8080
args: [--py310-plus]
@@ -112,7 +112,7 @@ repos:
112112
types: [python]
113113
stages: [manual]
114114
additional_dependencies: &pyright_dependencies
115-
115+
116116
- id: pyright
117117
# note: assumes python env is setup and activated
118118
name: pyright reportGeneralTypeIssues

environment.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,10 +76,10 @@ dependencies:
7676
- cxx-compiler
7777

7878
# code checks
79-
- flake8=6.1.0 # run in subprocess over docstring examples
80-
- mypy=1.9.0 # pre-commit uses locally installed mypy
79+
- flake8=7.1.0 # run in subprocess over docstring examples
80+
- mypy=1.11.2 # pre-commit uses locally installed mypy
8181
- tokenize-rt # scripts/check_for_inconsistent_pandas_namespace.py
82-
- pre-commit>=3.6.0
82+
- pre-commit>=4.0.1
8383

8484
# documentation
8585
- gitpython # obtain contributors from git for whatsnew

requirements-dev.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,10 @@ seaborn
5353
moto
5454
flask
5555
asv>=0.6.1
56-
flake8==6.1.0
57-
mypy==1.9.0
56+
flake8==7.1.0
57+
mypy==1.11.2
5858
tokenize-rt
59-
pre-commit>=3.6.0
59+
pre-commit>=4.0.1
6060
gitpython
6161
gitdb
6262
google-auth

0 commit comments

Comments
 (0)