Skip to content

Commit

Permalink
Update github actions
Browse files Browse the repository at this point in the history
Try to fix/ignore errors resulting from _generated.py
  • Loading branch information
andrewrosss committed Nov 13, 2023
1 parent 991c42c commit 0669952
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/linter.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ jobs:
- name: Lint with flake8
run: |
# stop the build if there are Python syntax errors or undefined names
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
flake8 . --count --max-complexity=10 --max-line-length=88 --statistics
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics --extend-exclude=_generated.py
flake8 . --count --ignore=E203,W503 --max-complexity=10 --max-line-length=88 --statistics --extend-exclude=_generated.py
- name: Check with black
run: |
black . --check --diff
black . --check --diff --extend-exclude=_generated.py
1 change: 1 addition & 0 deletions .github/workflows/superlinter.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ jobs:
env:
DEFAULT_BRANCH: main
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
FILTER_REGEX_EXCLUDE: .*/_generated.py
VALIDATE_ALL_CODEBASE: true
VALIDATE_YAML: true
VALIDATE_JSON: true
Expand Down

0 comments on commit 0669952

Please sign in to comment.