ci: W605 added to flake8 exceptions.

This commit is contained in:
Fabian Joswig 2022-03-01 19:16:54 +00:00
parent 1f0f060472
commit 42d9d3630e
2 changed files with 3 additions and 3 deletions

View file

@ -21,6 +21,6 @@ jobs:
- name: flake8 Lint - name: flake8 Lint
uses: py-actions/flake8@v1 uses: py-actions/flake8@v1
with: with:
ignore: "E501" ignore: "E501,W605"
exclude: "__init__.py, input/__init__.py" exclude: "__init__.py, input/__init__.py"
path: "pyerrors" path: "pyerrors"

View file

@ -24,12 +24,12 @@ For all pull requests tests are executed for the most recent python releases via
``` ```
pytest --cov=pyerrors -vv pytest --cov=pyerrors -vv
``` ```
requiring `pytest`, `pytest-cov` and `pytest-benchmark`. To get a coverage report in html run requiring `pytest`, `pytest-cov` and `pytest-benchmark`. To get a coverage report in html run
``` ```
pytest --cov=pyerrors --cov-report html pytest --cov=pyerrors --cov-report html
``` ```
The linter `flake8` is executed with the command The linter `flake8` is executed with the command
``` ```
flake8 --ignore=E501 --exclude=__init__.py pyerrors flake8 --ignore=E501,W605 --exclude=__init__.py pyerrors
``` ```
Please make sure that all tests are passed for a new pull requests. Please make sure that all tests are passed for a new pull requests.