Update README.md #120
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
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 |