From 4cf49bd80a98e58ba42ec193c75fb01fb4faacda Mon Sep 17 00:00:00 2001 From: "Veronica K. B. Olsen" <1619840+vkbo@users.noreply.github.com> Date: Thu, 13 Aug 2020 21:01:15 +0200 Subject: [PATCH] Updated flake8 settings --- .github/workflows/syntax.yml | 2 +- setup.cfg | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) 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/*