File tree 2 files changed +6
-6
lines changed
2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 32
32
# Check wheather the imports were sorted correctly.
33
33
# When this fails, please run ./tools/sort-imports.sh
34
34
run : |
35
- mypy --strict src/prompt_toolkit --platform win32
36
- mypy --strict src/prompt_toolkit --platform linux
37
- mypy --strict src/prompt_toolkit --platform darwin
35
+ # We use --no-warn-usused-ignores, because on Python 3.6 there is one
36
+ # type:ignore that we don't need.
37
+ mypy --strict --no-warn-unused-ignores src/prompt_toolkit --platform win32
38
+ mypy --strict --no-warn-unused-ignores src/prompt_toolkit --platform linux
39
+ mypy --strict --no-warn-unused-ignores src/prompt_toolkit --platform darwin
38
40
isort -c --profile black src examples tests setup.py
39
41
black --check src examples tests setup.py
40
42
- name : Validate README.md
Original file line number Diff line number Diff line change @@ -15,6 +15,4 @@ strict_optional = True
15
15
warn_redundant_casts = True
16
16
warn_return_any = True
17
17
warn_unused_configs = True
18
-
19
- # We have a 'type:ignore' that's not needed on Python 3.6.
20
- warn_unused_ignores = False
18
+ warn_unused_ignores = True
You can’t perform that action at this time.
0 commit comments