File tree Expand file tree Collapse file tree 5 files changed +8
-24
lines changed Expand file tree Collapse file tree 5 files changed +8
-24
lines changed Original file line number Diff line number Diff line change 55
55
python-version-file : ' pyproject.toml'
56
56
57
57
- run : pip install -e . --group typing
58
- - run : ./run.sh typing
58
+ - run : mypy
Original file line number Diff line number Diff line change @@ -168,6 +168,11 @@ omit = [
168
168
[tool .coverage .paths ]
169
169
source = [" src" , " */site-packages" ]
170
170
171
+ [tool .mypy ]
172
+ files = [" src" ]
173
+ show_error_codes = true
174
+ pretty = true
175
+ strict = true
171
176
[[tool .mypy .overrides ]]
172
177
module = [
173
178
" reader.__main__" ,
Original file line number Diff line number Diff line change @@ -74,13 +74,7 @@ function test-all {
74
74
75
75
76
76
function typing {
77
- mypy --strict --show-error-codes src " $@ "
78
-
79
- mkdir -p build
80
- local import_all=build/import_all.py
81
- python scripts/generate_import_all.py > " $import_all " \
82
- && mypy --strict --show-error-codes " $import_all " " $@ " \
83
- && rm " $import_all "
77
+ mypy " $@ "
84
78
}
85
79
86
80
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ commands =
28
28
29
29
[testenv:typing]
30
30
dependency_groups = typing
31
- commands = ./run.sh typing
31
+ commands = mypy
32
32
33
33
[testenv:docs]
34
34
dependency_groups = docs
You can’t perform that action at this time.
0 commit comments