-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Setup pylint * Fix more warnings * Standardize spacing
- Loading branch information
Showing
6 changed files
with
137 additions
and
123 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,11 @@ | ||
"""Module entry for nndownload.""" | ||
|
||
from . import nndownload | ||
|
||
|
||
def execute(*args): | ||
"""Pass arguments to be executed by nndownload.""" | ||
|
||
args_list = [e.strip() for e in args] | ||
nndownload._cmdl_opts = nndownload.cmdl_parser.parse_args(args_list) | ||
nndownload._CMDL_OPTS = nndownload.cmdl_parser.parse_args(args_list) | ||
nndownload.main() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
"""CLI entry for nndownload.""" | ||
|
||
from .nndownload import cli | ||
|
||
|
||
cli() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.