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/lint.py | |
parent | 6d77b04c555cd24b3c7c7cbb28fae9be13b8441d (diff) | |
download | pylint-git-per_dir_config.tar.gz |
Fixed --list-msgsper_dir_config
Diffstat (limited to 'pylint/lint.py')
-rw-r--r-- | pylint/lint.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pylint/lint.py b/pylint/lint.py index bf7ce7e09..f9097abca 100644 --- a/pylint/lint.py +++ b/pylint/lint.py @@ -1363,6 +1363,9 @@ group are mutually exclusive.", self._plugin_registry.msgs_store.help_message(msg) sys.exit(0) + if not self._global_config.module_or_package: + sys.exit(0) + self.load_default_plugins() self._plugin_registry.disable("I") |