-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
cf6b073
commit 151fc0f
Showing
4 changed files
with
36 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
name: Lintly Flake8 | ||
|
||
on: [pull_request] | ||
|
||
jobs: | ||
lint: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set up Python | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: 3.8 | ||
- name: Install dependencies | ||
run: pip install flake8 lintly | ||
- 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: "--max-line-length=99 --exclude=lib/installed_clients/,lib/kb_uploadmethods/kb_uploadmethodsServer.py --ignore=E305,E265 ." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
ignore: | ||
- "lib/installed_clients" | ||
- "lib/kb_uploadmethods/kb_uploadmethodsServer.py" | ||
- "lib/kb_uploadmethods/authclient.py" | ||
- "lib/kb_uploadmethods/baseclient.py" |