summaryrefslogtreecommitdiff
path: root/pylint/config/config_initialization.py
diff options
context:
space:
mode:
Diffstat (limited to 'pylint/config/config_initialization.py')
-rw-r--r--pylint/config/config_initialization.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/pylint/config/config_initialization.py b/pylint/config/config_initialization.py
index 60d2d8fee..3c9c4e22a 100644
--- a/pylint/config/config_initialization.py
+++ b/pylint/config/config_initialization.py
@@ -125,9 +125,10 @@ def _config_initialization(
# All other options have been removed from the list.
return list(
chain.from_iterable(
- # NOTE: 'or [arg]' is needed in the case the input file or directory does not exist and 'glob(arg)' cannot
- # find anything. Without this we would not be able to output the fatal import error for this module later
- # on, as it would get silently ignored.
+ # NOTE: 'or [arg]' is needed in the case the input file or directory does
+ # not exist and 'glob(arg)' cannot find anything. Without this we would
+ # not be able to output the fatal import error for this module later on,
+ # as it would get silently ignored.
glob(arg, recursive=True) or [arg]
for arg in parsed_args_list
)