Release 2.6 Beta 2 #3313
Workflow file for this run
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 | |
on: | |
push: | |
branches: | |
- main | |
- release | |
pull_request: | |
branches: | |
- main | |
- release | |
jobs: | |
checkSyntax: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Python Setup | |
uses: actions/setup-python@v5 | |
with: | |
python-version: 3 | |
architecture: x64 | |
- name: Checkout Source | |
uses: actions/checkout@v4 | |
- name: Install flake8 | |
run: pip install -r requirements-dev.txt | |
- name: Syntax Check | |
run: | | |
flake8 --version | |
flake8 novelwriter --count --show-source --statistics | |
flake8 tests --count --show-source --statistics --extend-ignore ANN |