This repository was archived by the owner on Sep 8, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 55
55
],
56
56
'lint' : [
57
57
"flake8==3.5.0" ,
58
- "mypy<0.600 " ,
58
+ "mypy==0.610 " ,
59
59
],
60
60
'benchmark' : [
61
61
"termcolor==1.1.*" ,
Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ commands=
54
54
flake8 {toxinidir}/evm
55
55
flake8 {toxinidir}/tests --exclude =" trinity"
56
56
# 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
58
58
59
59
60
60
[testenv:lint-py36]
@@ -68,10 +68,10 @@ commands=
68
68
flake8 {toxinidir}/tests
69
69
flake8 {toxinidir}/scripts
70
70
# 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
72
72
# 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
75
75
76
76
77
77
[testenv:py36-benchmark]
You can’t perform that action at this time.
0 commit comments