Skip to content

Commit 5fec8ec

Browse files
authored
fix lint
1 parent ae2c9c7 commit 5fec8ec

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

util/config.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env python
22
# -*- coding:utf-8 -*-
3-
from argparse import Action, ArgumentParser, ArgumentTypeError, Namespace, RawTextHelpFormatter # noqa: F401
3+
from argparse import Action, ArgumentParser, Namespace, RawTextHelpFormatter
44
from json import load as loadjson, dump as dumpjson
55
from os import stat, environ
66
from logging import error, getLevelName
@@ -10,7 +10,7 @@
1010
import sys
1111

1212

13-
__cli_args = {} # type: Namespace
13+
__cli_args = Namespace()
1414
__config = {} # type: dict
1515
log_levels = ['CRITICAL', 'FATAL', 'ERROR',
1616
'WARN', 'WARNING', 'INFO', 'DEBUG', 'NOTSET']

0 commit comments

Comments
 (0)