mirror of
https://github.com/home-assistant/core.git
synced 2025-12-22 11:59:34 +00:00
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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user