diff --git a/.github/workflows/pythonpackage.yml b/.github/workflows/pythonpackage.yml index 9b6305e6..824b748c 100644 --- a/.github/workflows/pythonpackage.yml +++ b/.github/workflows/pythonpackage.yml @@ -21,6 +21,9 @@ jobs: python -m pip install --upgrade pip pip install -r requirements-dev.txt poetry install + - name: Format check with black + run: | + make format - name: Typecheck with mypy run: | make typecheck diff --git a/Makefile b/Makefile index 9df9641c..792d7ffb 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,7 @@ test: pytest --cov-report term-missing --cov=rich tests/ -vv +format: + black --check rich typecheck: mypy -p rich --ignore-missing-imports --warn-unreachable typecheck-report: