Skip to content
Snippets Groups Projects
Commit e2fee80f authored by Antoine Lambert's avatar Antoine Lambert
Browse files

Fix some formatting after black version bump

parent 444ad32a
No related branches found
No related tags found
No related merge requests found
......@@ -28,14 +28,11 @@ class MetadataFetcherProtocol(Protocol):
credentials: CredentialsType,
lister_name: str,
lister_instance_name: str,
):
...
): ...
def get_origin_metadata(self) -> List[RawExtrinsicMetadata]:
...
def get_origin_metadata(self) -> List[RawExtrinsicMetadata]: ...
def get_parent_origins(self) -> List[Origin]:
...
def get_parent_origins(self) -> List[Origin]: ...
@functools.lru_cache()
......
......@@ -103,9 +103,9 @@ class Nar:
):
self.hash_names = hash_names
self.updater = {
hash_name: hashlib.sha256()
if hash_name.lower() == "sha256"
else hashlib.sha1()
hash_name: (
hashlib.sha256() if hash_name.lower() == "sha256" else hashlib.sha1()
)
for hash_name in hash_names
}
format_output = format_output.lower()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment