Enable T20 (flake8-print) to ban use of print statements (#86525)
* Enable T20 (flake8-print) to ban use of print statements * Make compatible with flake8 config
This commit is contained in:
parent
c9499f6574
commit
73c4ac53d2
9 changed files with 24 additions and 30 deletions
|
@ -16,7 +16,7 @@ def test_battery_icon():
|
|||
|
||||
iconbase = "mdi:battery"
|
||||
for level in range(0, 100, 5):
|
||||
print(
|
||||
print( # noqa: T201
|
||||
"Level: %d. icon: %s, charging: %s"
|
||||
% (
|
||||
level,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue