Skip to content

Commit c09eb18

Browse files
committed
Rename to 'original_reporters'
1 parent cf95d27 commit c09eb18

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pylint/lint/pylinter.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ def _load_reporter_by_class(reporter_class: str) -> type[BaseReporter]:
261261

262262

263263
def _handle_force_color_no_color(
264-
reporters: Sequence[BaseReporter],
264+
original_reporters: Sequence[BaseReporter],
265265
) -> list[reporters.BaseReporter]:
266266
"""
267267
Check ``NO_COLOR`` and ``FORCE_COLOR``, and return the modified reporter list.
@@ -293,7 +293,7 @@ def _handle_force_color_no_color(
293293

294294
final_reporters: list[BaseReporter] = []
295295

296-
for rep in reporters:
296+
for rep in original_reporters:
297297
if (
298298
no_color
299299
and isinstance(rep, ColorizedTextReporter)

0 commit comments

Comments
 (0)