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: diff --git a/rich/_palettes.py b/rich/_palettes.py index d562d821..082d8817 100644 --- a/rich/_palettes.py +++ b/rich/_palettes.py @@ -299,4 +299,3 @@ EIGHT_BIT_PALETTE = Palette( (238, 238, 238), ] ) -