diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index a4f5dcc..d8246dd 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -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 }} \ No newline at end of file + # 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/*" \ No newline at end of file