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
|
poetry install
|
||||||
- name: Typecheck with mypy
|
- name: Typecheck with mypy
|
||||||
run: |
|
run: |
|
||||||
|
pip install mypy
|
||||||
make typecheck
|
make typecheck
|
||||||
- name: Test with pytest
|
- name: Test with pytest
|
||||||
run: |
|
run: |
|
||||||
|
pip install pytest
|
||||||
pip install .
|
pip install .
|
||||||
python -m pytest tests/ -v
|
python -m pytest tests/ -v
|
||||||
|
|
4
Makefile
4
Makefile
|
@ -1,7 +1,7 @@
|
||||||
test:
|
test:
|
||||||
python -m pytest --cov-report term-missing --cov=rich tests/ -vv
|
pytest --cov-report term-missing --cov=rich tests/ -vv
|
||||||
typecheck:
|
typecheck:
|
||||||
python -m 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
|
||||||
.PHONY: docs
|
.PHONY: docs
|
||||||
|
|
Loading…
Reference in New Issue