summaryrefslogtreecommitdiffstats
path: root/apt
diff options
context:
space:
mode:
Diffstat (limited to 'apt')
-rw-r--r--apt/auth.py1
-rw-r--r--apt/cache.py6
2 files changed, 3 insertions, 4 deletions
diff --git a/apt/auth.py b/apt/auth.py
index 6d50616..8ae5977 100644
--- a/apt/auth.py
+++ b/apt/auth.py
@@ -44,7 +44,6 @@ class AptKeyIDTooShortError(AptKeyError):
class TrustedKey:
-
"""Represents a trusted key."""
def __init__(self, name: str, keyid: str, date: str) -> None:
diff --git a/apt/cache.py b/apt/cache.py
index cf78026..5893c0e 100644
--- a/apt/cache.py
+++ b/apt/cache.py
@@ -118,9 +118,9 @@ class Cache:
self._callbacks2: dict[
str, list[tuple[Callable[..., Any], tuple[Any, ...], dict[Any, Any]]]
] = {} # noqa
- self._weakref: weakref.WeakValueDictionary[
- str, apt.Package
- ] = weakref.WeakValueDictionary() # noqa
+ self._weakref: weakref.WeakValueDictionary[str, apt.Package] = (
+ weakref.WeakValueDictionary()
+ ) # noqa
self._weakversions: weakref.WeakSet[Version] = weakref.WeakSet() # noqa
self._changes_count = -1
self._sorted_set: list[str] | None = None