1
0
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:
Kelly Brazil
2024-03-15 11:37:56 -07:00
parent 4fc7232d44
commit ee2a7ddc2e

View File

@ -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}')