diff --git a/.github/workflows/formatting.yml b/.github/workflows/formatting.yml index 068dee5..1a4c86e 100644 --- a/.github/workflows/formatting.yml +++ b/.github/workflows/formatting.yml @@ -27,11 +27,13 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - python -m pip install black + python -m pip install black isort if [ -f requirements.txt ]; then python -m pip install -r requirements.txt; fi - name: black format run: | black --diff --check . + - name: Run isort formatter + uses: isort/isort-action@master python-bytecode: runs-on: ubuntu-20.04 @@ -48,4 +50,4 @@ jobs: echo -e "${FILES}" echo -e "##############" exit 1 - fi \ No newline at end of file + fi