mirror of https://github.com/Textualize/rich.git
Add ignore-missing-imports arg to mypy
This commit is contained in:
parent
0e1a91969f
commit
524891e96c
|
@ -50,7 +50,7 @@ make typecheck
|
|||
Or if you don't have `make`:
|
||||
|
||||
```
|
||||
mypy -p rich --ignore-missing-imports --warn-unreachable
|
||||
mypy -p rich --config-file= --ignore-missing-imports --no-implicit-optional --warn-unreachable
|
||||
```
|
||||
|
||||
Please add type annotations for all new code.
|
||||
|
|
4
Makefile
4
Makefile
|
@ -5,9 +5,9 @@ format-check:
|
|||
format:
|
||||
black .
|
||||
typecheck:
|
||||
mypy -p rich --ignore-missing-imports --warn-unreachable
|
||||
mypy -p rich --config-file= --ignore-missing-imports --no-implicit-optional --warn-unreachable
|
||||
typecheck-report:
|
||||
mypy -p rich --ignore-missing-imports --warn-unreachable --html-report mypy_report
|
||||
mypy -p rich --config-file= --ignore-missing-imports --no-implicit-optional --warn-unreachable --html-report mypy_report
|
||||
.PHONY: docs
|
||||
docs:
|
||||
cd docs; make html
|
||||
|
|
Loading…
Reference in New Issue