File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -76,12 +76,6 @@ def _config_initialization(
7676 exc .code = 32
7777 raise
7878
79- # args_list should now only be a list of files/directories to lint. All options have
80- # been removed from the list
81- if not parsed_args_list :
82- print (linter .help ())
83- sys .exit (32 )
84-
8579 # We have loaded configuration from config file and command line. Now, we can
8680 # load plugin specific configuration.
8781 linter .load_plugin_configuration ()
@@ -103,4 +97,10 @@ def _config_initialization(
10397 # Now that plugins are loaded, get list of all fail_on messages, and enable them
10498 linter .enable_fail_on_messages ()
10599
100+ # args_list should now only be a list of files/directories to lint. All options have
101+ # been removed from the list
102+ if not parsed_args_list :
103+ print (linter .help ())
104+ sys .exit (32 )
105+
106106 return parsed_args_list
You can’t perform that action at this time.
0 commit comments