black compliance
This commit is contained in:
parent
613ed6d8b0
commit
3f5dcb39a7
1 changed files with 7 additions and 7 deletions
14
.github/workflows/lint.yml
vendored
14
.github/workflows/lint.yml
vendored
|
@ -21,11 +21,11 @@ jobs:
|
|||
poetry-version: ${{ matrix.poetry-version }}
|
||||
- name: Install dependencies
|
||||
run: poetry install
|
||||
- name: Install flake8
|
||||
run: pip install flake8
|
||||
- name: Run flake8
|
||||
uses: suo/flake8-github-action@releases/v1
|
||||
- uses: grantmcconnaughey/lintly-flake8-github-action@v1.0
|
||||
with:
|
||||
checkName: 'flake8_py3' # NOTE: this needs to be the same as the job name
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.ACTION_GITHUB_TOKEN }}
|
||||
# The GitHub API token to create reviews with
|
||||
token: ${{ secrets.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…
Add table
Reference in a new issue