Skip to content
This repository was archived by the owner on Sep 8, 2025. It is now read-only.

Commit 010846c

Browse files
cburgdorfpipermerriam
authored andcommitted
Update mypy to version 0.610
1 parent cc0f679 commit 010846c

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
],
5656
'lint': [
5757
"flake8==3.5.0",
58-
"mypy<0.600",
58+
"mypy==0.610",
5959
],
6060
'benchmark': [
6161
"termcolor==1.1.*",

tox.ini

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ commands=
5454
flake8 {toxinidir}/evm
5555
flake8 {toxinidir}/tests --exclude="trinity"
5656
# TODO: Drop --ignore-missing-imports once we have type annotations for eth_utils, coincurve and cytoolz
57-
mypy --follow-imports=silent --ignore-missing-imports --check-untyped-defs --disallow-incomplete-defs -p evm
57+
mypy --follow-imports=silent --ignore-missing-imports --no-strict-optional --check-untyped-defs --disallow-incomplete-defs -p evm
5858

5959

6060
[testenv:lint-py36]
@@ -68,10 +68,10 @@ commands=
6868
flake8 {toxinidir}/tests
6969
flake8 {toxinidir}/scripts
7070
# TODO: Drop --ignore-missing-imports once we have type annotations for eth_utils, coincurve and cytoolz
71-
mypy --follow-imports=silent --ignore-missing-imports --check-untyped-defs --disallow-incomplete-defs -p p2p
71+
mypy --follow-imports=silent --ignore-missing-imports --no-strict-optional --check-untyped-defs --disallow-incomplete-defs -p p2p
7272
# Trinity and Benchmark use more restrictive type checking
73-
mypy --follow-imports=silent --ignore-missing-imports --check-untyped-defs --disallow-incomplete-defs --disallow-untyped-defs --disallow-any-generics scripts/benchmark
74-
mypy --follow-imports=silent --ignore-missing-imports --check-untyped-defs --disallow-incomplete-defs --disallow-untyped-defs --disallow-any-generics -p trinity
73+
mypy --follow-imports=silent --ignore-missing-imports --no-strict-optional --check-untyped-defs --disallow-incomplete-defs --disallow-untyped-defs --disallow-any-generics scripts/benchmark
74+
mypy --follow-imports=silent --ignore-missing-imports --no-strict-optional --check-untyped-defs --disallow-incomplete-defs --disallow-untyped-defs --disallow-any-generics -p trinity
7575

7676

7777
[testenv:py36-benchmark]

0 commit comments

Comments
 (0)