File tree Expand file tree Collapse file tree 4 files changed +19
-5
lines changed Expand file tree Collapse file tree 4 files changed +19
-5
lines changed Original file line number Diff line number Diff line change 4646 run : |
4747 ./runtests.py
4848 lint :
49- name : flake8
5049 runs-on : ubuntu-latest
5150 steps :
5251 - uses : actions/checkout@v3
5857 python -m pip install wheel
5958 python -m pip install --upgrade pip
6059 python -m pip install flake8==6
61- - name : lint
60+ python -m pip install mypy==1
61+ - name : flake8
6262 working-directory : ./fluent.runtime
6363 run : |
6464 python -m flake8
65+ - name : mypy
66+ working-directory : ./fluent.runtime
67+ run : |
68+ python -m mypy fluent/
Original file line number Diff line number Diff line change 3939 working-directory : ./fluent.syntax
4040 run : |
4141 ./runtests.py
42- syntax :
43- name : flake8
42+ lint :
4443 runs-on : ubuntu-latest
4544 steps :
4645 - uses : actions/checkout@v3
5150 run : |
5251 python -m pip install --upgrade pip
5352 python -m pip install flake8==6
54- - name : lint
53+ python -m pip install mypy==1
54+ - name : flake8
5555 working-directory : ./fluent.syntax
5656 run : |
5757 python -m flake8
58+ - name : mypy
59+ working-directory : ./fluent.syntax
60+ run : |
61+ python -m mypy fluent/
Original file line number Diff line number Diff line change @@ -12,3 +12,6 @@ max-line-length=120
1212line_length =120
1313skip_glob =.tox
1414not_skip =__init__.py
15+
16+ [mypy]
17+ strict = True
Original file line number Diff line number Diff line change @@ -12,3 +12,6 @@ max-line-length=120
1212line_length =120
1313skip_glob =.tox
1414not_skip =__init__.py
15+
16+ [mypy]
17+ strict = True
You can’t perform that action at this time.
0 commit comments