From e85d7dfde636264eb2708b339fb98a6a3479b07a Mon Sep 17 00:00:00 2001 From: Fabian Joswig Date: Sun, 26 Feb 2023 19:07:22 +0000 Subject: [PATCH] ci: flake8 workflow made more strict again (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 b4beb4b4..d931f241 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,E121,E123,E126,E226,E24,E704,W503,W504" + ignore: "E501,W503" exclude: "__init__.py, input/__init__.py" path: "pyerrors" diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 22aa0798..b5cd207e 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 --extend-ignore=E501 --exclude=__init__.py pyerrors +flake8 --ignore=E501,W503 --exclude=__init__.py pyerrors ``` Please make sure that all tests are passed for a new pull requests.