mirror of
https://github.com/jupyter/docker-stacks.git
synced 2025-10-08 10:34:06 +00:00
Add pyupgrade tool
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
# Copyright (c) Jupyter Development Team.
|
||||
# Distributed under the terms of the Modified BSD License.
|
||||
from dataclasses import dataclass, field
|
||||
from typing import Optional, List
|
||||
from typing import Optional
|
||||
from .taggers import (
|
||||
TaggerInterface,
|
||||
SHATagger,
|
||||
@@ -31,8 +31,8 @@ from .manifests import (
|
||||
@dataclass
|
||||
class ImageDescription:
|
||||
parent_image: Optional[str]
|
||||
taggers: List[TaggerInterface] = field(default_factory=list)
|
||||
manifests: List[ManifestInterface] = field(default_factory=list)
|
||||
taggers: list[TaggerInterface] = field(default_factory=list)
|
||||
manifests: list[ManifestInterface] = field(default_factory=list)
|
||||
|
||||
|
||||
ALL_IMAGES = {
|
||||
|
Reference in New Issue
Block a user