style: ruff format and the lint rules of the driver standard
Mechanical: ruff format, and ruff check --fix with the rule set every NAPALM driver uses (E, F, I, UP, B at line length 100, Python 3.10). What ruff cannot fix comes in the next commit.
This commit is contained in:
1 parent
8d38e6f119
commit
4a4f9378c5
4 files changed
+26
-7
No files matched your search
@@ -9,6 +9,8 @@ import pytest
|
||||
from napalm_yealink.yealink import YealinkDriver
|
||||
|
||||
|
||||
@pytest.mark.parametrize("name", ["get_health_metrics", "get_ssids", "get_radio_info", "get_wireless_clients"])
|
||||
@pytest.mark.parametrize(
|
||||
"name", ["get_health_metrics", "get_ssids", "get_radio_info", "get_wireless_clients"]
|
||||
)
|
||||
def test_no_stub_claims_what_the_phone_cannot_do(name):
|
||||
assert name not in vars(YealinkDriver)
|
||||
@@ -1,6 +1,7 @@
|
||||
"""Fingerprint tests for YealinkDriver."""
|
||||
|
||||
from napalm_device_types import DeviceTypeDriver, PhoneDriver, role_keys_of
|
||||
|
||||
from napalm_yealink import YealinkDriver
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user