adding flake8 pipeline

This commit is contained in:
Roman Pertl
2023-04-25 18:29:40 +00:00
parent 3448aa2e13
commit 1680ee7de3

17
.github/workflows/flake8.yaml vendored Normal file

@ -0,0 +1,17 @@
name: Run flake8
on: [pull_request]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: grantmcconnaughey/lintly-flake8-github-action@v1.0
with:
# 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 pass to flake8, default "." (current directory)
args: "."