mirror of
https://github.com/PyCQA/flake8.git
synced 2026-04-03 03:56:52 +00:00
Merge branch 'fix-quiet'
This commit is contained in:
commit
a0dabc1d42
3 changed files with 25 additions and 4 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