mirror of
https://github.com/kellyjonbrazil/jc.git
synced 2025-06-17 00:07:37 +02:00
remove python path update since the script will be run from the correct directory
This commit is contained in:
@ -7,7 +7,6 @@ import sys
|
|||||||
import importlib
|
import importlib
|
||||||
from inspect import isfunction, signature, cleandoc
|
from inspect import isfunction, signature, cleandoc
|
||||||
import yapf # type: ignore
|
import yapf # type: ignore
|
||||||
import os
|
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
ignore_lib_functions = [
|
ignore_lib_functions = [
|
||||||
@ -17,7 +16,6 @@ ignore_lib_functions = [
|
|||||||
'namedtuple'
|
'namedtuple'
|
||||||
]
|
]
|
||||||
|
|
||||||
sys.path.append(os.getcwd() + '/jc')
|
|
||||||
mod_path = sys.argv[1]
|
mod_path = sys.argv[1]
|
||||||
mod_name = mod_path.split('.')[-1]
|
mod_name = mod_path.split('.')[-1]
|
||||||
module = importlib.import_module(f'{mod_path}')
|
module = importlib.import_module(f'{mod_path}')
|
||||||
|
Reference in New Issue
Block a user