Skip to content

Commit

Permalink
Update pylint/config/config_initialization.py
Browse files Browse the repository at this point in the history
Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
  • Loading branch information
DanielNoord and Pierre-Sassoulas committed Oct 1, 2022
1 parent 13d5de9 commit 88a4e79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pylint/config/config_initialization.py
Expand Up @@ -72,7 +72,7 @@ def _config_initialization(
# the configuration file
parsed_args_list = linter._parse_command_line_configuration(args_list)

# Remove the positional arguments separator from the list of arguments
# Remove the positional arguments separator from the list of arguments if it exists
try:
parsed_args_list.remove("--")
except ValueError:
Expand Down

0 comments on commit 88a4e79

Please sign in to comment.