black compliance

pull/6/head
Yax 3 years ago
parent 613ed6d8b0
commit 3f5dcb39a7

@ -21,11 +21,11 @@ jobs:
poetry-version: ${{ matrix.poetry-version }} poetry-version: ${{ matrix.poetry-version }}
- name: Install dependencies - name: Install dependencies
run: poetry install run: poetry install
- name: Install flake8 - uses: grantmcconnaughey/lintly-flake8-github-action@v1.0
run: pip install flake8
- name: Run flake8
uses: suo/flake8-github-action@releases/v1
with: with:
checkName: 'flake8_py3' # NOTE: this needs to be the same as the job name # The GitHub API token to create reviews with
env: token: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.ACTION_GITHUB_TOKEN }} # Fail if "new" violations detected or "any", default "new"
failIf: new
# Additional arguments to be black compliant
args: "--max-line-length=88 --extend-ignore=E203 --exclude=*/tests/*"
Loading…
Cancel
Save