mirror of
https://github.com/PyCQA/flake8.git
synced 2026-04-11 07:14:18 +00:00
Fix quiet/verbose config problem
This commit is contained in:
parent
98b9946a78
commit
55e85b4b50
1 changed files with 2 additions and 1 deletions
|
|
@ -183,7 +183,8 @@ class MergedConfigParser(object):
|
||||||
|
|
||||||
# Use the appropriate method to parse the config value
|
# Use the appropriate method to parse the config value
|
||||||
method = config_parser.get
|
method = config_parser.get
|
||||||
if option.type in self.GETINT_TYPES:
|
if (option.type in self.GETINT_TYPES or
|
||||||
|
option.action in self.GETINT_TYPES):
|
||||||
method = config_parser.getint
|
method = config_parser.getint
|
||||||
elif option.action in self.GETBOOL_ACTIONS:
|
elif option.action in self.GETBOOL_ACTIONS:
|
||||||
method = config_parser.getboolean
|
method = config_parser.getboolean
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue