Skip to content

Commit 68b07a4

Browse files
authored
Make sure linting CI passes
1 parent bb87473 commit 68b07a4

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
@@ -306,10 +306,10 @@ def _handle_force_color_no_color(
306306
)
307307
final_reporters.append(TextReporter())
308308

309-
# pylint: disable=unidiomatic-typecheck # Want explicit type check
310309
elif (
311310
force_color
312-
and type(rep) is TextReporter
311+
# Need type explicit check here
312+
and type(rep) is TextReporter # pylint: disable=unidiomatic-typecheck
313313
and rep.out.buffer is sys.stdout.buffer
314314
):
315315
warnings.warn(

0 commit comments

Comments
 (0)