Improve a little bit the code

main
kirbylife 2023-11-06 19:43:29 -06:00
parent 13226b9745
commit 24433d5c23
2 changed files with 6 additions and 6 deletions

View File

@ -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])

View File

@ -41,7 +41,11 @@ ignore = [
"PLR2004",
"FA102",
"PLW2901",
"N812"
"N812",
"C901",
"PLR0912",
"D213",
"D211"
]
fixable = ["ALL"]