Improve a little bit the code
parent
13226b9745
commit
24433d5c23
|
@ -3,8 +3,8 @@
|
|||
import re
|
||||
import sys
|
||||
|
||||
from nvexpo import nvexpo
|
||||
from nvexpo import consts as CONSTS
|
||||
from nvexpo import nvexpo
|
||||
|
||||
|
||||
def main() -> int:
|
||||
|
@ -17,10 +17,6 @@ def main() -> int:
|
|||
nvexpo.unset_env(args[2:])
|
||||
return 0
|
||||
|
||||
if args[1] in ["--load"]:
|
||||
nvexpo._load()
|
||||
return 0
|
||||
|
||||
if args[1] in ["init"]:
|
||||
try:
|
||||
nvexpo.init(args[2])
|
||||
|
|
|
@ -41,7 +41,11 @@ ignore = [
|
|||
"PLR2004",
|
||||
"FA102",
|
||||
"PLW2901",
|
||||
"N812"
|
||||
"N812",
|
||||
"C901",
|
||||
"PLR0912",
|
||||
"D213",
|
||||
"D211"
|
||||
]
|
||||
fixable = ["ALL"]
|
||||
|
||||
|
|
Loading…
Reference in New Issue