adding flake8 pipeline
This commit is contained in:
17
.github/workflows/flake8.yaml
vendored
Normal file
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: "."
|
Reference in New Issue
Block a user