commit | 535e2c5dc8cb9ea8afe79fc4cae5386c20d57394 | [log] [tgz] |
---|---|---|
author | Ian Stapleton Cordasco <graffatcolmingov@gmail.com> | Sat Oct 03 12:22:54 2020 -0500 |
committer | GitHub <noreply@github.com> | Sat Oct 03 12:22:54 2020 -0500 |
tree | 2ddaf372ff8f0be17d46f09c1834c0126e045f4a | |
parent | 4b287e2c282606fa870d855837979a39e0b2cb0d [diff] | |
parent | 323de533292d5e4acd00ee8e57bc1c38ef6d5803 [diff] |
Merge pull request #83 from sambrightman/fix-flake8-warning Migrate to argparse callable `type=` option
diff --git a/mccabe.py b/mccabe.py index 3ab390c..f28b979 100644 --- a/mccabe.py +++ b/mccabe.py
@@ -242,7 +242,7 @@ kwargs = { 'default': -1, 'action': 'store', - 'type': 'int', + 'type': int, 'help': 'McCabe complexity threshold', 'parse_from_config': 'True', }