File tree Expand file tree Collapse file tree 3 files changed +24
-0
lines changed
Expand file tree Collapse file tree 3 files changed +24
-0
lines changed Original file line number Diff line number Diff line change 5353 run : python3 -m pip install -r doc/requirements.txt -e .
5454 - name : Build docs
5555 run : make -C doc html
56+
57+ mypy :
58+ continue-on-error : true
59+ runs-on : ubuntu-latest
60+ steps :
61+ - uses : actions/checkout@v4
62+ - uses : actions/setup-python@v5
63+ with :
64+ python-version : 3.12
65+ cache : pip
66+ cache-dependency-path : |
67+ 'pyproject.toml'
68+ 'requirements-dev.txt'
69+ - run : pip install -r requirements-dev.txt -e .
70+ - run : mypy --config-file pyproject.toml .
Original file line number Diff line number Diff line change @@ -48,3 +48,11 @@ testpaths = [
4848filterwarnings = [
4949 " ignore::DeprecationWarning" ,
5050]
51+
52+ [tool .mypy ]
53+ python_version = " 3.8"
54+ exclude = [
55+ " ^examples*" ,
56+ " ^test*" ,
57+ " ^setup.py*" ,
58+ ]
Original file line number Diff line number Diff line change 1+ mypy ~= 1.10
You can’t perform that action at this time.
0 commit comments