Skip to content

Commit 8aac643

Browse files
committed
style: upgrade code style
Signed-off-by: Jan Kowalleck <[email protected]>
1 parent d2f93aa commit 8aac643

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cyclonedx/model/component_evidence.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
from decimal import Decimal
2121
from enum import Enum
2222
from json import loads as json_loads
23-
from typing import Any, List, Optional, Type, Union
23+
from typing import Any, List, Optional, Union
2424
from warnings import warn
2525
from xml.etree.ElementTree import Element as XmlElement # nosec B405
2626

@@ -769,7 +769,7 @@ def json_denormalize(cls, o: dict[str, Any], **__: Any) -> Any:
769769
@classmethod
770770
def xml_normalize(cls, o: ComponentEvidence, *,
771771
element_name: str,
772-
view: Optional[Type['serializable.ViewType']],
772+
view: Optional[type['serializable.ViewType']],
773773
xmlns: Optional[str],
774774
**__: Any) -> Optional['XmlElement']:
775775
normalized: 'XmlElement' = o.as_xml(view, False, element_name, xmlns) # type:ignore[attr-defined]

0 commit comments

Comments
 (0)