Skip to content

Commit 12019e4

Browse files
committed
Silent types warnings of Host caches
Not worth writing the type here, we should better simplify this code and then write types.
1 parent 6529c9e commit 12019e4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

testinfra/host.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717

1818

1919
class Host:
20-
_host_cache = {}
21-
_hosts_cache = {}
20+
_host_cache = {} # type: ignore[var-annotated]
21+
_hosts_cache = {} # type: ignore[var-annotated]
2222

2323
def __init__(self, backend):
2424
self.backend = backend

0 commit comments

Comments
 (0)