Enable Mixed Spaces and Tabs flake8 Error
Flake8 currently ignores indentation that contains mixed spaces and tabs Enable it for more thorough testing of code Story: 2004515 Task: 30076 Change-Id: I268f1c5695bf913daee7497191e6f9546d51e6a0 Signed-off-by: Eric Barrett <eric.barrett@windriver.com>
This commit is contained in:
parent
81a1a248cb
commit
8d42ceeecb
3
tox.ini
3
tox.ini
@ -37,7 +37,6 @@ commands =
|
|||||||
|
|
||||||
[flake8]
|
[flake8]
|
||||||
# E series are pep8
|
# E series are pep8
|
||||||
# E101 indentation contains mixed spaces and tabs
|
|
||||||
# E121 continuation line under-indented for hanging indent
|
# E121 continuation line under-indented for hanging indent
|
||||||
# E123 closing bracket does not match indentation of opening bracket's line
|
# E123 closing bracket does not match indentation of opening bracket's line
|
||||||
# E124 closing bracket does not match visual indentation
|
# E124 closing bracket does not match visual indentation
|
||||||
@ -92,7 +91,7 @@ commands =
|
|||||||
# F series
|
# F series
|
||||||
# F401 'module' imported but unused
|
# F401 'module' imported but unused
|
||||||
# F841 local variable '_alarm_state' is assigned to but never used
|
# F841 local variable '_alarm_state' is assigned to but never used
|
||||||
ignore = E101,E121,E123,E124,E125,E126,E127,E128,E201,E202,E203,E211,E221,E222,E225,E226,E231,E251,E261,E265,E266,
|
ignore = E121,E123,E124,E125,E126,E127,E128,E201,E202,E203,E211,E221,E222,E225,E226,E231,E251,E261,E265,E266,
|
||||||
E302,E303,E305,E402,E501,E711,E722,E741,E999,
|
E302,E303,E305,E402,E501,E711,E722,E741,E999,
|
||||||
H101,H102,H104,H201,H238,H233,H237,H306,H401,H404,H405,
|
H101,H102,H104,H201,H238,H233,H237,H306,H401,H404,H405,
|
||||||
W191,W291,W391,W503,
|
W191,W291,W391,W503,
|
||||||
|
Loading…
Reference in New Issue
Block a user