- set_interface: the except Exception: pass around reading the old
untagged VLANs now logs at debug level (B110), with a module logger.
- nosec for the empty password field of get_users (B105, now a named
constant); a false positive.
- Two docstrings quoting tabular device output keep their lines (noqa
E501); a long docstring and an error message are shortened or split;
the unused duplex column is named _duplex.
- tests: a get_facts test named SHOW_INTERFACE, which does not exist; it
is SHOW_INTERFACE_STATUS. raise ... from exc.
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.