Skip to content

Commit

Permalink
fix: lint driven fix
Browse files Browse the repository at this point in the history
  • Loading branch information
evilsocket committed Jan 18, 2025
1 parent 793e2c8 commit 29e3e58
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion dyana/loaders/base/dyana.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import atexit
import os
import pathlib
import resource
import shutil
import sys
Expand Down
4 changes: 2 additions & 2 deletions dyana/loaders/loader.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def __init__(
build: bool = True,
platform: str | None = None,
args: list[str] | None = None,
save: list[str] = [],
save: list[str] | None = None,
save_to: pathlib.Path = pathlib.Path("./artifacts"),
verbose: bool = False,
):
Expand All @@ -68,7 +68,7 @@ def __init__(
self.settings: LoaderSettings | None = None
self.build_args: dict[str, str] | None = None
self.args: list[ParsedArgument] | None = None
self.save: list[str] = save
self.save: list[str] | None = save
self.save_to: pathlib.Path = save_to.resolve().absolute()

if os.path.exists(self.settings_path):
Expand Down

0 comments on commit 29e3e58

Please sign in to comment.