Skip to content

Commit

Permalink
models.file - do not use implicit None types
Browse files Browse the repository at this point in the history
  • Loading branch information
MatteoCampinoti94 committed Oct 22, 2024
1 parent 1090ed1 commit 2bf38a4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions acacore/models/file.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def from_file(
cls,
path: str | PathLike[str],
root: str | PathLike[str],
siegfried: Siegfried | SiegfriedFile = None,
siegfried: Siegfried | SiegfriedFile | None = None,
custom_signatures: list[CustomSignature] | None = None,
uuid: UUID | None = None,
) -> Self:
Expand Down Expand Up @@ -423,7 +423,7 @@ def from_file(
path: str | PathLike[str],
root: str | PathLike[str],
original_uuid: UUID | None = None,
siegfried: Siegfried | SiegfriedFile = None,
siegfried: Siegfried | SiegfriedFile | None = None,
custom_signatures: list[CustomSignature] | None = None,
uuid: UUID | None = None,
) -> Self:
Expand Down Expand Up @@ -452,7 +452,7 @@ def from_file(
path: str | PathLike[str],
root: str | PathLike[str],
original_uuid: UUID | None = None,
siegfried: Siegfried | SiegfriedFile = None,
siegfried: Siegfried | SiegfriedFile | None = None,
custom_signatures: list[CustomSignature] | None = None,
actions_access: dict[str, ConvertAction] | None = None,
actions_statutory: dict[str, ConvertAction] | None = None,
Expand Down

0 comments on commit 2bf38a4

Please sign in to comment.