mirror of
https://github.com/PyCQA/flake8.git
synced 2026-03-29 10:36:53 +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
|
||||
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
|
||||
elif option.action in self.GETBOOL_ACTIONS:
|
||||
method = config_parser.getboolean
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue