diff --git a/.github/workflows/syntax.yml b/.github/workflows/syntax.yml index f75369fe..2480e963 100644 --- a/.github/workflows/syntax.yml +++ b/.github/workflows/syntax.yml @@ -24,4 +24,4 @@ jobs: - name: Check for Syntax Error on Tests run: flake8 tests --count --select=E9,F63,F7,F82 --show-source --statistics - name: Check for Code Style on novelWriter - run: flake8 nw --count --max-line-length=99 --select E1,E231,E27,E4,E5,E7,E9,W,F --show-source --statistics + run: flake8 nw --count --max-line-length=99 --ignore E203,E221,E226,E241,E251,E261,E266,E302,E305 --show-source --statistics diff --git a/setup.cfg b/setup.cfg index 065ab174..d9410a61 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,3 +3,8 @@ license_files = LICENSE.md [bdist_wheel] universal = 0 + +[flake8] +ignore = E203,E221,E226,E241,E251,E261,E266,E302,E305 +max-line-length = 99 +exclude = docs/*