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
0ba5081824
commit
38391891ec
8 files changed
+593
-360
No files matched your search
@@ -30,7 +30,7 @@ class Channel:
|
||||
"""An exec channel answering with *output* and *status*; it refuses a line
|
||||
that holds the password, which is what ``ps`` would show."""
|
||||
|
||||
def __init__(self, host: "Transport"):
|
||||
def __init__(self, host: Transport):
|
||||
self.host = host
|
||||
self.command = ""
|
||||
self.stdin = b""
|
||||
|
||||
Reference in new issue
Block a user