Skip to content

Commit f2a0d55

Browse files
committed
refactor: get_configuration()
1 parent 7e6102f commit f2a0d55

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

lint.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,17 @@
44

55

66
def get_configuration() -> Namespace:
7-
parser = ArgumentParser(prog='LINT')
7+
parser = ArgumentParser(description='pylint configuration')
88
parser.add_argument(
99
'-p',
1010
'--path',
11-
help='path to directory you want to run pylint | ' 'Default: %(default)s | ' 'Type: %(type)s ',
1211
default='pytorch_optimizer',
1312
type=str,
1413
)
1514
parser.add_argument(
1615
'-t',
1716
'--threshold',
18-
help='score threshold to fail pylint runner | ' 'Default: %(default)s | ' 'Type: %(type)s ',
19-
default=9.5,
17+
default=9.75,
2018
type=float,
2119
)
2220

0 commit comments

Comments
 (0)