mirror of https://github.com/Textualize/rich.git
explicit install
This commit is contained in:
parent
ee7b5a3da5
commit
1d420db1b1
|
@ -24,8 +24,10 @@ jobs:
|
|||
poetry install
|
||||
- name: Typecheck with mypy
|
||||
run: |
|
||||
pip install mypy
|
||||
make typecheck
|
||||
- name: Test with pytest
|
||||
run: |
|
||||
pip install pytest
|
||||
pip install .
|
||||
python -m pytest tests/ -v
|
||||
|
|
4
Makefile
4
Makefile
|
@ -1,7 +1,7 @@
|
|||
test:
|
||||
python -m pytest --cov-report term-missing --cov=rich tests/ -vv
|
||||
pytest --cov-report term-missing --cov=rich tests/ -vv
|
||||
typecheck:
|
||||
python -m mypy -p rich --ignore-missing-imports --warn-unreachable
|
||||
mypy -p rich --ignore-missing-imports --warn-unreachable
|
||||
typecheck-report:
|
||||
mypy -p rich --ignore-missing-imports --warn-unreachable --html-report mypy_report
|
||||
.PHONY: docs
|
||||
|
|
Loading…
Reference in New Issue