Merge pull request #201 from nathanrpage97/feat/format-check-ci

Add black format check to ci
This commit is contained in:
Will McGugan 2020-08-04 10:08:47 +01:00 committed by GitHub
commit 1501671a4d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 1 deletions

View File

@ -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

View File

@ -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:

View File

@ -299,4 +299,3 @@ EIGHT_BIT_PALETTE = Palette(
(238, 238, 238),
]
)