1
0
mirror of https://github.com/kellyjonbrazil/jc.git synced 2025-07-11 01:10:37 +02:00

type annotation cleanup

This commit is contained in:
Kelly Brazil
2022-10-19 13:32:16 -07:00
parent 1559c4751e
commit 14a237749c
5 changed files with 6 additions and 3 deletions

View File

@ -200,7 +200,7 @@ def _modname_to_cliname(parser_mod_name: str) -> str:
# override parsers from <user_data_dir>/jc/jcparsers/*.py.
# Once this list is created, extend the parsers list with it.
local_parsers: List[str] = []
data_dir = appdirs.user_data_dir('jc', 'jc')
data_dir = appdirs.user_data_dir('jc', 'jc') # type: ignore
local_parsers_dir = os.path.join(data_dir, 'jcparsers')
if os.path.isdir(local_parsers_dir):
sys.path.append(data_dir)