[~] Refactor
This commit is contained in:
parent
eb310ceef7
commit
723ad56ca9
3
m.py
3
m.py
@ -184,7 +184,8 @@ def run(argv: Optional[list[str]] = None) -> None:
|
|||||||
ruff(args)
|
ruff(args)
|
||||||
elif options.command is Commands.m2:
|
elif options.command is Commands.m2:
|
||||||
if not inside_env():
|
if not inside_env():
|
||||||
return env(['--', 'm.py', 'm2', *args])
|
env(['--', 'm.py', 'm2', *args])
|
||||||
|
return
|
||||||
|
|
||||||
import python.tasks.cython
|
import python.tasks.cython
|
||||||
python.tasks.cython.mypyc_build(pathlib.Path('m.py'))
|
python.tasks.cython.mypyc_build(pathlib.Path('m.py'))
|
||||||
|
Loading…
Reference in New Issue
Block a user