diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index c992ac8..c6cf6c5 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -33,10 +33,11 @@ jobs: run: poetry install - name: Lint imports with isort # Use command line due to bugs/doc gaps with official `isort/isort-action` - # Exit with error if the code is not properly formatted; show diffs + # Exit with error if the code is not properly formatted; show diffs; + # `black` compatibility run: | source $VENV - isort . --check-only --diff + isort . --check-only --diff --profile black - name: Lint with black # by default: exit with error if the code is not properly formatted; show diffs uses: psf/black@stable