diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 10ec11c..db51653 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -29,10 +29,9 @@ jobs: run: | python -m pip install --upgrade pip if [ -f requirements.txt ]; then pip install -r requirements.txt; fi - - name: Lint with isort and black - run: | - isort . -v - black . -v - name: Test with unittest run: | python -m unittest discover -s tests/ -p 'test*.py' -v + - name: Test linting with black + run: | + black . --check