Skip to content

Commit f296722

Browse files
committed
ci: flake8 workflow made more strict again (and CONTRIBUTING.md updated.)
1 parent 854b46c commit f296722

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/flake8.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,6 @@ jobs:
2121
- name: flake8 Lint
2222
uses: py-actions/flake8@v2
2323
with:
24-
ignore: "E501,E121,E123,E126,E226,E24,E704,W503,W504"
24+
ignore: "E501,W504"
2525
exclude: "__init__.py, input/__init__.py"
2626
path: "pyerrors"

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,6 @@ pytest --cov=pyerrors --cov-report html
3333
```
3434
The linter `flake8` is executed with the command
3535
```
36-
flake8 --extend-ignore=E501 --exclude=__init__.py pyerrors
36+
flake8 --ignore=E501,W504 --exclude=__init__.py pyerrors
3737
```
3838
Please make sure that all tests are passed for a new pull requests.

0 commit comments

Comments
 (0)