Skip to content

Restrict to numpy < 2 and setuptools < 72 for better compatibiltiy wi… #939

Restrict to numpy < 2 and setuptools < 72 for better compatibiltiy wi…

Restrict to numpy < 2 and setuptools < 72 for better compatibiltiy wi… #939

Workflow file for this run

name: autopep8
on:
push:
branches:
- "*"
pull_request:
branches:
- "*"
jobs:
autopep8:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: autopep8
id: autopep8
uses: peter-evans/autopep8@v1
with:
args: --recursive --diff --aggressive --aggressive --exit-code --ignore E402 --max-line-length 120 .
- name: Fail if autopep8 made changes
if: ${{ steps.autopep8.outputs.exit-code == 2 }}
run: exit 1