Skip to content

Commit eecd338

Browse files
committed
update to run mypy local
1 parent 90cb12c commit eecd338

File tree

2 files changed

+9
-8
lines changed

2 files changed

+9
-8
lines changed

.pre-commit-config.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -43,15 +43,15 @@ repos:
4343
- id: mdformat
4444
additional_dependencies:
4545
- mdformat-gfm
46-
- repo: https://github.com/pre-commit/mirrors-mypy
47-
rev: v1.10.0
46+
- repo: local
4847
hooks:
49-
- id: mypy
50-
exclude: 'tests/|conftest.py'
51-
additional_dependencies:
52-
- pydantic
53-
- types-setuptools
54-
- types-requests
48+
- id: mypy-local
49+
name: run mypy with all dev dependencies present
50+
# exclude: 'tests/|conftest.py'
51+
entry: python -m mypy -p web3
52+
language: system
53+
always_run: true
54+
pass_filenames: false
5555
- repo: https://github.com/PrincetonUniversity/blocklint
5656
rev: v0.2.5
5757
hooks:

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
"flaky>=3.7.0",
1212
"hypothesis>=3.31.2",
1313
"ipython",
14+
"mypy==1.10.0",
1415
"pre-commit>=3.4.0",
1516
"pytest-asyncio>=0.21.2,<0.23",
1617
"pytest-mock>=1.10",

0 commit comments

Comments
 (0)