mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-03-15 20:09:18 +01:00
pyln: Add E741 as excluded flake warnings
This is the ambiguous variable name warning which newer versions will complain about.
This commit is contained in:
parent
59e94dab4b
commit
0112bbbeb7
4 changed files with 4 additions and 4 deletions
|
@ -19,7 +19,7 @@ check: check-source check-pytest
|
|||
check-source: check-flake8 check-mypy
|
||||
|
||||
check-flake8:
|
||||
flake8 --ignore=E501,E731,W503
|
||||
flake8 --ignore=E501,E731,W503,E741
|
||||
|
||||
check-pytest:
|
||||
pytest tests
|
||||
|
|
|
@ -19,7 +19,7 @@ check: check-source check-pytest
|
|||
check-source: check-flake8 check-mypy
|
||||
|
||||
check-flake8:
|
||||
flake8 --ignore=E501,E731,W503
|
||||
flake8 --ignore=E501,E731,W503,E741
|
||||
|
||||
check-pytest:
|
||||
pytest tests
|
||||
|
|
|
@ -24,7 +24,7 @@ check-source-flake8: $(DIRS:%=check-source-flake8-%)
|
|||
check-source-mypy: $(DIRS:%=check-source-mypy-%)
|
||||
|
||||
check-source-flake8-%:
|
||||
cd $* && flake8 --ignore=E501,E731,W503 --exclude=text.py
|
||||
cd $* && flake8 --ignore=E501,E731,W503,E741 --exclude=text.py
|
||||
|
||||
# mypy . does not recurse. I have no idea why...
|
||||
check-source-mypy-%:
|
||||
|
|
|
@ -19,7 +19,7 @@ check: check-source check-pytest
|
|||
check-source: check-flake8 check-mypy
|
||||
|
||||
check-flake8:
|
||||
flake8 --ignore=E501,E731,W503
|
||||
flake8 --ignore=E501,E731,W503,E741
|
||||
|
||||
check-pytest:
|
||||
pytest tests
|
||||
|
|
Loading…
Add table
Reference in a new issue