Release 2.1 #2283
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 | |
- dev | |
pull_request: | |
branches: | |
- main | |
- dev | |
jobs: | |
checkSyntax: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Python Setup | |
uses: actions/setup-python@v4 | |
with: | |
python-version: 3 | |
architecture: x64 | |
- name: Checkout Source | |
uses: actions/checkout@v3 | |
- name: Install flake8 | |
run: pip install flake8 | |
- name: Syntax Check | |
run: | | |
flake8 --version | |
flake8 novelwriter --count --show-source --statistics | |
flake8 tests --count --show-source --statistics |