Update pylint to 2.17.0 (#89377)

* Update pylint to 2.17.0

* Remove unused pylint disable comments
This commit is contained in:
Marc Mueller
2023-03-08 16:54:19 +01:00
committed by GitHub
parent 7982f713e1
commit bfb89fd8f2
5 changed files with 7 additions and 10 deletions

View File

@ -29,7 +29,7 @@ from .dataset_store import async_get_store
from .discovery import async_read_zeroconf_cache
if TYPE_CHECKING:
from pyroute2 import NDB # pylint: disable=no-name-in-module
from pyroute2 import NDB
class Neighbour(TypedDict):
@ -121,7 +121,7 @@ def _get_routes_and_neighbors():
NDB,
)
with NDB() as ndb: # pylint: disable=not-callable
with NDB() as ndb:
routes, reverse_routes = _get_possible_thread_routes(ndb)
neighbours = _get_neighbours(ndb)