File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 3232 # Check wheather the imports were sorted correctly.
3333 # When this fails, please run ./tools/sort-imports.sh
3434 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
3840 isort -c --profile black src examples tests setup.py
3941 black --check src examples tests setup.py
4042 - name : Validate README.md
Original file line number Diff line number Diff line change @@ -15,6 +15,4 @@ strict_optional = True
1515warn_redundant_casts = True
1616warn_return_any = True
1717warn_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