mirror of https://github.com/Textualize/rich.git
explicit mypy
This commit is contained in:
parent
049a1739e5
commit
229e78583d
|
@ -23,6 +23,7 @@ jobs:
|
||||||
poetry install
|
poetry install
|
||||||
- name: Typecheck with mypy
|
- name: Typecheck with mypy
|
||||||
run: |
|
run: |
|
||||||
|
pip install mypy==0.781
|
||||||
make typecheck
|
make typecheck
|
||||||
- name: Test with pytest
|
- name: Test with pytest
|
||||||
run: |
|
run: |
|
||||||
|
|
2
Makefile
2
Makefile
|
@ -4,8 +4,6 @@ typecheck:
|
||||||
mypy -p rich --ignore-missing-imports --warn-unreachable
|
mypy -p rich --ignore-missing-imports --warn-unreachable
|
||||||
typecheck-report:
|
typecheck-report:
|
||||||
mypy -p rich --ignore-missing-imports --warn-unreachable --html-report mypy_report
|
mypy -p rich --ignore-missing-imports --warn-unreachable --html-report mypy_report
|
||||||
pytype:
|
|
||||||
pytype --config=pytype.cfg
|
|
||||||
.PHONY: docs
|
.PHONY: docs
|
||||||
docs:
|
docs:
|
||||||
cd docs; make html
|
cd docs; make html
|
||||||
|
|
Loading…
Reference in New Issue