-
Notifications
You must be signed in to change notification settings - Fork 0
26 lines (24 loc) · 933 Bytes
/
flake8.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
name: flake8 Lint
on: [push, pull_request]
jobs:
flake8-lint:
runs-on: ubuntu-latest
name: Lint
steps:
- name: Check out source repository
uses: actions/checkout@v2
- name: Set up Python environment
uses: actions/setup-python@v2
with:
python-version: "3.10"
- name: Python flake8 Lint
uses: py-actions/[email protected]
with:
# In order to avoid:
# ./core/teststat.py:49:20: F821 undefined name 'MessageEnum'
# ./core/teststat.py:52:20: F821 undefined name 'MessageEnum'
ignore: "F821,W503"
max-line-length: "100"
# In order to avoid:
# ./scripts/testsuite_generation/config_testsuite_params.py:'resource_asn_200' may be undefined, or defined from star imports: config_testsuite_param_values
per-file-ignores: ./scripts/testsuite_generation/config_testsuite_params.py:F405