diff options
| author | Shinya Kawaguchi <rm.true.dev@gmail.com> | 2017-07-22 16:21:32 +0900 |
|---|---|---|
| committer | Ian Stapleton Cordasco <graffatcolmingov@gmail.com> | 2017-07-27 18:44:08 -0500 |
| commit | 55e85b4b50a1d3ee89a2f803f33e2efdd677f4f8 (patch) | |
| tree | b9dfebbf08712c020ae38dd0a51eed8fdd31e4c3 /src/flake8/options | |
| parent | 98b9946a7893824779d87120d5c13ea2eace72c8 (diff) | |
| download | flake8-55e85b4b50a1d3ee89a2f803f33e2efdd677f4f8.tar.gz | |
Fix quiet/verbose config problem
Diffstat (limited to 'src/flake8/options')
| -rw-r--r-- | src/flake8/options/config.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/flake8/options/config.py b/src/flake8/options/config.py index 59bf60f..a6ac63f 100644 --- a/src/flake8/options/config.py +++ b/src/flake8/options/config.py @@ -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 |
