diff options
author | Ashley Whetter <ashley@awhetter.co.uk> | 2019-02-09 17:21:39 -0800 |
---|---|---|
committer | Ashley Whetter <ashley@awhetter.co.uk> | 2019-02-09 17:22:41 -0800 |
commit | eda4dcc365c152f0fb4035639b51d20c7a158a5f (patch) | |
tree | a4f40231a68b2659fe2e084bed973953751d0c2a /pylint/config.py | |
parent | 6d77b04c555cd24b3c7c7cbb28fae9be13b8441d (diff) | |
download | pylint-git-per_dir_config.tar.gz |
Fixed --list-msgsper_dir_config
Diffstat (limited to 'pylint/config.py')
-rw-r--r-- | pylint/config.py | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/pylint/config.py b/pylint/config.py index f718bfe98..ca783490e 100644 --- a/pylint/config.py +++ b/pylint/config.py @@ -435,7 +435,16 @@ class CLIParser(ConfigParser): else: args.append("--{0}".format(option)) - copy_keys = ("action", "default", "dest", "help", "metavar", "level", "version") + copy_keys = ( + "action", + "default", + "dest", + "help", + "metavar", + "level", + "version", + "nargs", + ) kwargs = {k: definition[k] for k in copy_keys if k in definition} if "type" in definition: |