From 3b773b7b520f468ee75e22fafe73bec5281716ae Mon Sep 17 00:00:00 2001 From: Fabian Joswig Date: Sun, 26 Feb 2023 18:55:16 +0000 Subject: [PATCH] ci: default ignore options added to flake8 workflow and CONTRIBUTING.md updated. --- .github/workflows/flake8.yml | 2 +- CONTRIBUTING.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/flake8.yml b/.github/workflows/flake8.yml index c0a3629b..b4beb4b4 100644 --- a/.github/workflows/flake8.yml +++ b/.github/workflows/flake8.yml @@ -21,6 +21,6 @@ jobs: - name: flake8 Lint uses: py-actions/flake8@v2 with: - ignore: "E501" + ignore: "E501,E121,E123,E126,E226,E24,E704,W503,W504" exclude: "__init__.py, input/__init__.py" path: "pyerrors" diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 8d803e4a..22aa0798 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -33,6 +33,6 @@ pytest --cov=pyerrors --cov-report html ``` The linter `flake8` is executed with the command ``` -flake8 --ignore=E501 --exclude=__init__.py pyerrors +flake8 --extend-ignore=E501 --exclude=__init__.py pyerrors ``` Please make sure that all tests are passed for a new pull requests.