File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2525
2626 - name : Run mypy stubtest
2727 run : |
28- set -o pipefail
2928 # the ignore missing imports can be removed when typed cycler is released and used
3029 MPLBACKEND=agg python -m mypy.stubtest matplotlib --mypy-config-file pyproject.toml \
3130 --allowlist ci/mypy-stubtest-allowlist.txt
Original file line number Diff line number Diff line change 6565 REVIEWDOG_GITHUB_API_TOKEN : ${{ secrets.GITHUB_TOKEN }}
6666 run : |
6767 set -o pipefail
68- # the ignore missing imports can be removed when typed cycler is released and used
68+ # The -- ignore- missing- imports can be removed when typed cycler is released and used
6969 mypy --config pyproject.toml lib/matplotlib \
7070 --ignore-missing-imports \
7171 --follow-imports silent | \
Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ __all__ = [
88 "get_cachedir" ,
99 "get_data_path" ,
1010 "matplotlib_fname" ,
11+ "MatplotlibDeprecationWarning" ,
1112 "RcParams" ,
1213 "rc_params" ,
1314 "rc_params_from_file" ,
Original file line number Diff line number Diff line change 1- # Extra pip requirements for the GitHub Actions flake8 build
1+ # Extra pip requirements for the GitHub Actions mypy build
22
33mypy
44
Original file line number Diff line number Diff line change 2828 - Inheritance makes the set arithmetic harder when only loading AST
2929 - Attributes also make it more complicated when defined in init
3030- Functions type hinted with ``overload`` are ignored for argument checking
31- - Usually this means the implementation is is less strict in signature but will raise
31+ - Usually this means the implementation is less strict in signature but will raise
3232 if an invalid signature is used, type checking allows such errors to be caught by
3333 the type checker instead of at runtime.
3434- Private attribute/functions are ignored
You can’t perform that action at this time.
0 commit comments