We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cf95d27 commit c09eb18Copy full SHA for c09eb18
pylint/lint/pylinter.py
@@ -261,7 +261,7 @@ def _load_reporter_by_class(reporter_class: str) -> type[BaseReporter]:
261
262
263
def _handle_force_color_no_color(
264
- reporters: Sequence[BaseReporter],
+ original_reporters: Sequence[BaseReporter],
265
) -> list[reporters.BaseReporter]:
266
"""
267
Check ``NO_COLOR`` and ``FORCE_COLOR``, and return the modified reporter list.
@@ -293,7 +293,7 @@ def _handle_force_color_no_color(
293
294
final_reporters: list[BaseReporter] = []
295
296
- for rep in reporters:
+ for rep in original_reporters:
297
if (
298
no_color
299
and isinstance(rep, ColorizedTextReporter)
0 commit comments