diff --git a/.github/workflows/check-pep8.yml b/.github/workflows/check-pep8.yml index e374c5e0..2dc3731b 100644 --- a/.github/workflows/check-pep8.yml +++ b/.github/workflows/check-pep8.yml @@ -9,7 +9,7 @@ jobs: id: autopep8 uses: peter-evans/autopep8@v1 with: - args: --recursive --diff --aggressive --aggressive --exit-code --ignore E402 --exclude="./spack/var/spack/repos/builtin/packages/py-pyprecice/package.py" . + args: --recursive --diff --aggressive --aggressive --exit-code --ignore E402 --exclude="./spack/var" . - name: Fail if autopep8 made changes if: ${{ steps.autopep8.outputs.exit-code }} == 2 run: exit 1