Skip to content

Commit

Permalink
Mollify flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
hmpf committed Jan 25, 2024
1 parent ebff375 commit d97de03
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 4 additions & 2 deletions src/zinolib/ritz.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
import codecs
import select

from .config.tcl import parse_tcl_config
from .config.tcl import parse_tcl_config # noqa: F401 (used to be in this file)
from .utils import windows_codepage_cp1252, generate_authtoken


Expand Down Expand Up @@ -260,7 +260,9 @@ def __getattr__(self, name):
return self.get_downtime()
else:
self.__getattribute__(name)
# raise AttributeError("%s instance of type %s has no attribute '%s'" % (self.__class__, self._attrs["type"], name))
# raise AttributeError(
# "%s instance of type %s has no attribute '%s'" % (self.__class__, self._attrs["type"], name)
# )
return self

def __getitem__(self, key):
Expand Down
1 change: 0 additions & 1 deletion src/zinolib/utils.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import functools
import hashlib
from typing import Any


__all__ = [
Expand Down

0 comments on commit d97de03

Please sign in to comment.