Debian Codegraph @

doc/whatsnew/2/2.13/full.rst

raw
1 Full changelog
2 ==============
3
4 What's New in Pylint 2.13.9?
5 ----------------------------
6 Release date: 2022-05-13
7
8
9 * Respect ignore configuration options with ``--recursive=y``.
10
11 Closes #6471
12
13 * Fix false positives for ``no-name-in-module`` and ``import-error`` for ``numpy.distutils`` and ``pydantic``.
14
15 Closes #6497
16
17 * Fix ``IndexError`` crash in ``uninferable_final_decorators`` method.
18
19 Refs #6531
20
21 * Fix a crash in ``unnecessary-dict-index-lookup`` when subscripting an attribute.
22
23 Closes #6557
24
25 * Fix a crash when accessing ``__code__`` and assigning it to a variable.
26
27 Closes #6539
28
29 * Fix a false positive for ``undefined-loop-variable`` when using ``enumerate()``.
30
31 Closes #6593
32
33
34 What's New in Pylint 2.13.8?
35 ----------------------------
36 Release date: 2022-05-02
37
38 * Fix a false positive for ``undefined-loop-variable`` for a variable used in a lambda
39 inside the first of multiple loops.
40
41 Closes #6419
42
43 * Fix a crash when linting a file that passes an integer ``mode=`` to
44 ``open``
45
46 Closes #6414
47
48 * Avoid reporting ``superfluous-parens`` on expressions using the ``is not`` operator.
49
50 Closes #5930
51
52 * Fix a false positive for ``undefined-loop-variable`` when the ``else`` of a ``for``
53 loop raises or returns.
54
55 Closes #5971
56
57 * Fix false positive for ``unused-variable`` for classes inside functions
58 and where a metaclass is provided via a call.
59
60 Closes #4020
61
62 * Fix false positive for ``unsubscriptable-object`` in Python 3.8 and below for
63 statements guarded by ``if TYPE_CHECKING``.
64
65 Closes #3979
66
67
68 What's New in Pylint 2.13.7?
69 ----------------------------
70 Release date: 2022-04-20
71
72 * Fix a crash caused by using the new config from 2.14.0 in 2.13.x code.
73
74 Closes #6408
75
76
77 What's New in Pylint 2.13.6?
78 ----------------------------
79 Release date: 2022-04-20
80
81 * Fix a crash in the ``unsupported-membership-test`` checker when assigning
82 multiple constants to class attributes including ``__iter__`` via unpacking.
83
84 Closes #6366
85
86 * Asterisks are no longer required in Sphinx and Google style parameter documentation
87 for ``missing-param-doc`` and are parsed correctly.
88
89 Closes #5815
90 Closes #5406
91
92 * Fixed a false positive for ``unused-variable`` when a builtin specified in
93 ``--additional-builtins`` is given a type annotation.
94
95 Closes #6388
96
97 * Fixed an ``AstroidError`` in 2.13.0 raised by the ``duplicate-code`` checker with
98 ``ignore-imports`` or ``ignore-signatures`` enabled.
99
100 Closes #6301
101
102
103 What's New in Pylint 2.13.5?
104 ----------------------------
105 Release date: 2022-04-06
106
107 * Fix false positive regression in 2.13.0 for ``used-before-assignment`` for
108 homonyms between variable assignments in try/except blocks and variables in
109 subscripts in comprehensions.
110
111 Closes #6069
112 Closes #6136
113
114 * ``lru-cache-decorating-method`` has been renamed to ``cache-max-size-none`` and
115 will only be emitted when ``maxsize`` is ``None``.
116
117 Closes #6180
118
119 * Fix false positive for ``unused-import`` when disabling both ``used-before-assignment`` and ``undefined-variable``.
120
121 Closes #6089
122
123 * Narrow the scope of the ``unnecessary-ellipsis`` checker to:
124 * functions & classes which contain both a docstring and an ellipsis.
125 * A body which contains an ellipsis ``nodes.Expr`` node & at least one other statement.
126
127 * Fix false positive for ``used-before-assignment`` for assignments taking place via
128 nonlocal declarations after an earlier type annotation.
129
130 Closes #5394
131
132 * Fix crash for ``redefined-slots-in-subclass`` when the type of the slot is not a const or a string.
133
134 Closes #6100
135
136 * Only raise ``not-callable`` when all the inferred values of a property are not callable.
137
138 Closes #5931
139
140
141 * Fix a false negative for ``subclassed-final-class`` when a set of other messages were disabled.
142
143
144 What's New in Pylint 2.13.4?
145 ----------------------------
146 Release date: 2022-03-31
147
148 * Fix false positive regression in 2.13.0 for ``used-before-assignment`` for
149 homonyms between variable assignments in try/except blocks and variables in
150 a comprehension's filter.
151
152 Closes #6035
153
154 * Include ``testing_pylintrc`` in source and wheel distributions.
155
156 Closes #6028
157
158 * Fix crash in ``super-init-not-called`` checker when using ``ctypes.Union``.
159
160 Closes #6027
161
162
163 * Fix crash for ``unnecessary-ellipsis`` checker when an ellipsis is used inside of a container or a lambda expression.
164
165 Closes #6036
166 Closes #6037
167 Closes #6048
168
169
170 What's New in Pylint 2.13.3?
171 ----------------------------
172 Release date: 2022-03-29
173
174 * Fix false positive for ``unnecessary-ellipsis`` when using an ellipsis as a default argument.
175
176 Closes #5973
177
178 * Fix crash involving unbalanced tuple unpacking.
179
180 Closes #5998
181
182 * Fix false positive for :ref:`nonexistent-operator`' when repeated '-' are
183 separated (e.g. by parens).
184
185 Closes #5769
186
187
188 What's New in Pylint 2.13.2?
189 ----------------------------
190 Release date: 2022-03-27
191
192 * Fix crash when subclassing a ``namedtuple``.
193
194 Closes #5982
195
196 * Fix false positive for ``superfluous-parens`` for patterns like
197 "return (a or b) in iterable".
198
199 Closes #5803
200
201 * Fix a false negative regression in 2.13.0 where ``protected-access`` was not
202 raised on functions.
203
204 Closes #5989
205
206 * Better error messages in case of crash if pylint can't write the issue template.
207
208 Refs #5987
209
210
211 What's New in Pylint 2.13.1?
212 ----------------------------
213 Release date: 2022-03-26
214
215 * Fix a regression in 2.13.0 where ``used-before-assignment`` was emitted for
216 the usage of a nonlocal in a try block.
217
218 Closes #5965
219
220 * Avoid emitting ``raising-bad-type`` when there is inference ambiguity on
221 the variable being raised.
222
223 Closes #2793
224
225 * Loosen TypeVar default name pattern a bit to allow names with multiple uppercase
226 characters. E.g. ``HVACModeT`` or ``IPAddressT``.
227
228 Closes #5981
229
230 * Fixed false positive for ``unused-argument`` when a ``nonlocal`` name is used
231 in a nested function that is returned without being called by its parent.
232
233 Closes #5187
234
235 * Fix program crash for ``modified_iterating-list/set/dict`` when the list/dict/set
236 being iterated through is a function call.
237
238 Closes #5969
239
240 * Don't emit ``broken-noreturn`` and ``broken-collections-callable`` errors
241 inside ``if TYPE_CHECKING`` blocks.
242
243
244 What's New in Pylint 2.13.0?
245 ----------------------------
246 Release date: 2022-03-24
247
248 * Add missing dunder methods to ``unexpected-special-method-signature`` check.
249
250 * No longer emit ``no-member`` in for loops that reference ``self`` if the binary operation that
251 started the for loop uses a ``self`` that is encapsulated in tuples or lists.
252
253 Refs pylint-dev/astroid#1360
254 Closes #4826
255
256 * Output better error message if unsupported file formats are used with ``pyreverse``.
257
258 Closes #5950
259
260 * Fix pyreverse diagrams type hinting for classmethods and staticmethods.
261
262 * Fix pyreverse diagrams type hinting for methods returning None.
263
264 * Fix matching ``--notes`` options that end in a non-word character.
265
266 Closes #5840
267
268 * Updated the position of messages for class and function definitions to no longer cover
269 the complete definition. Only the ``def`` or ``class`` + the name of the class/function
270 are covered.
271
272 Closes #5466
273
274 * ``using-f-string-in-unsupported-version`` and ``using-final-decorator-in-unsupported-version`` msgids
275 were renamed from ``W1601`` and ``W1602`` to ``W2601`` and ``W2602``. Disabling using these msgids will break.
276 This is done in order to restore consistency with the already existing msgids for ``apply-builtin`` and
277 ``basestring-builtin`` from the now deleted python 3K+ checker. There is now a check that we're not using
278 existing msgids or symbols from deleted checkers.
279
280 Closes #5729
281
282 * The line numbering for messages related to function arguments is now more accurate. This can
283 require some message disables to be relocated to updated positions.
284
285 * Add ``--recursive`` option to allow recursive discovery of all modules and packages in subtree. Running pylint with
286 ``--recursive=y`` option will check all discovered ``.py`` files and packages found inside subtree of directory provided
287 as parameter to pylint.
288
289 Closes #352
290
291 * Add ``modified-iterating-list``, ``modified-iterating-dict`` and ``modified-iterating-set``,
292 emitted when items are added to or removed from respectively a list, dictionary or
293 set being iterated through.
294
295 Closes #5348
296
297 * Fix false-negative for ``assignment-from-none`` checker using list.sort() method.
298
299 Closes #5722
300
301 * New extension ``import-private-name``: indicate imports of external private packages
302 and objects (prefixed with ``_``). It can be loaded using ``load-plugins=pylint.extensions.private_import``.
303
304 Closes #5463
305
306 * Fixed crash from ``arguments-differ`` and ``arguments-renamed`` when methods were
307 defined outside the top level of a class.
308
309 Closes #5648
310
311 * Removed the deprecated ``check_docs`` extension. You can use the ``docparams`` checker
312 to get the checks previously included in ``check_docs``.
313
314 Closes #5322
315
316 * Added a ``testutil`` extra require to the packaging, as ``gitpython`` should not be a dependency
317 all the time but is still required to use the primer helper code in ``pylint.testutil``. You can
318 install it with ``pip install pylint[testutil]``.
319
320 Closes #5486
321
322 * Reinstated checks from the python3 checker that are still useful for python 3
323 (``eq-without-hash``). This is now in the ``pylint.extensions.eq_without_hash`` optional
324 extension.
325
326 Closes #5025
327
328 * Fixed an issue where ``ungrouped-imports`` could not be disabled without raising
329 ``useless-suppression``.
330
331 Refs #2366
332
333 * Added several checkers to deal with unicode security issues
334 (see `Trojan Sources <https://trojansource.codes/>`_ and
335 `PEP 672 <https://peps.python.org/pep-0672/>`_ for details) that also
336 concern the readability of the code. In detail the following checks were added:
337
338 * ``bad-file-encoding`` checks that the file is encoded in UTF-8 as suggested by
339 `PEP8 <https://peps.python.org/pep-0008/#source-file-encoding>`_.
340 UTF-16 and UTF-32 are `not supported by Python <https://bugs.python.org/issue1503789>`_
341 at the moment. If this ever changes
342 ``invalid-unicode-codec`` checks that they aren't used, to allow for backwards
343 compatibility.
344
345 * ``bidirectional-unicode`` checks for bidirectional unicode characters that
346 could make code execution different than what the user expects.
347
348 * ``invalid-character-backspace``, ``invalid-character-carriage-return``,
349 ``invalid-character-sub``, ``invalid-character-esc``,
350 ``invalid-character-zero-width-space`` and ``invalid-character-nul``
351 to check for possibly harmful unescaped characters.
352
353 Closes #5281
354
355 * Use the ``tomli`` package instead of ``toml`` to parse ``.toml`` files.
356
357 Closes #5885
358
359 * Fix false positive - Allow unpacking of ``self`` in a subclass of ``typing.NamedTuple``.
360
361 Closes #5312
362
363 * Fixed false negative ``unpacking-non-sequence`` when value is an empty list.
364
365 Closes #5707
366
367 * Better warning messages for useless else or elif when a function returns early.
368
369 Closes #5614
370
371 * Fixed false positive ``consider-using-dict-comprehension`` when creating a dict
372 using a list of tuples where key AND value vary depending on the same condition.
373
374 Closes #5588
375
376 * Fixed false positive for ``global-variable-undefined`` when ``global`` is used with a class name
377
378 Closes #3088
379
380 * Fixed false positive for ``unused-variable`` when a ``nonlocal`` name is assigned as part of a multi-name assignment.
381
382 Closes #3781
383
384 * Fixed a crash in ``unspecified-encoding`` checker when providing ``None``
385 to the ``mode`` argument of an ``open()`` call.
386
387 Closes #5731
388
389 * Fixed a crash involving a ``NewType`` named with an f-string.
390
391 Closes #5770
392 Ref pylint-dev/astroid#1400
393
394 * Improved ``bad-open-mode`` message when providing ``None`` to the ``mode``
395 argument of an ``open()`` call.
396
397 Closes #5733
398
399 * Added ``lru-cache-decorating-method`` checker with checks for the use of ``functools.lru_cache``
400 on class methods. This is unrecommended as it creates memory leaks by never letting the instance
401 getting garbage collected.
402
403 Closes #5670
404
405 * Fixed crash with recursion error for inference of class attributes that referenced
406 the class itself.
407
408 Closes #5408
409 Ref pylint-dev/astroid#1392
410
411 * Fixed false positive for ``unused-argument`` when a method overridden in a subclass
412 does nothing with the value of a keyword-only argument.
413
414 Closes #5771
415 Ref pylint-dev/astroid#1382
416
417 * The issue template for crashes is now created for crashes which were previously not covered
418 by this mechanism.
419
420 Closes #5668
421
422 * Rewrote checker for ``non-ascii-name``.
423 It now ensures __all__ Python names are ASCII and also properly
424 checks the names of imports (``non-ascii-module-import``) as
425 well as file names (``non-ascii-file-name``) and emits their respective new warnings.
426
427 Non ASCII characters could be homoglyphs (look alike characters) and hard to
428 enter on a non specialized keyboard.
429 See `Confusable Characters in PEP 672`_
430
431 * When run in parallel mode ``pylint`` now pickles the data passed to subprocesses with
432 the ``dill`` package. The ``dill`` package has therefore been added as a dependency.
433
434 * An astroid issue where symlinks were not being taken into account
435 was fixed
436
437 Closes #1470
438 Closes #3499
439 Closes #4302
440 Closes #4798
441 Closes #5081
442
443 * Fix a crash in ``unused-private-member`` checker when analyzing code using
444 ``type(self)`` in bound methods.
445
446 Closes #5569
447
448 * Optimize parsing of long lines when ``missing-final-newline`` is enabled.
449
450 Closes #5724
451
452 * Fix false positives for ``used-before-assignment`` from using named
453 expressions in a ternary operator test and using that expression as
454 a call argument.
455
456 Closes #5177, #5212
457
458 * Fix false positive for ``undefined-variable`` when ``namedtuple`` class
459 attributes are used as return annotations.
460
461 Closes #5568
462
463 * Fix false negative for ``undefined-variable`` and related variable messages
464 when the same undefined variable is used as a type annotation and is
465 accessed multiple times, or is used as a default argument to a function.
466
467 Closes #5399
468
469 * Pyreverse - add output in mermaidjs format
470
471 * Emit ``used-before-assignment`` instead of ``undefined-variable`` when attempting
472 to access unused type annotations.
473
474 Closes #5713
475
476 * Added confidence level ``CONTROL_FLOW`` for warnings relying on assumptions
477 about control flow.
478
479 * ``used-before-assignment`` now considers that assignments in a try block
480 may not have occurred when the except or finally blocks are executed.
481
482 Closes #85, #2615
483
484 * Fixed false negative for ``used-before-assignment`` when a conditional
485 or context manager intervened before the try statement that suggested
486 it might fail.
487
488 Closes #4045
489
490 * Fixed false negative for ``used-before-assignment`` in finally blocks
491 if an except handler did not define the assignment that might have failed
492 in the try block.
493
494 * Fixed extremely long processing of long lines with comma's.
495
496 Closes #5483
497
498 * Fixed crash on properties and inherited class methods when comparing them for
499 equality against an empty dict.
500
501 Closes #5646
502
503 * Fixed a false positive for ``assigning-non-slot`` when the slotted class
504 defined ``__setattr__``.
505
506 Closes #3793
507
508 * Fixed a false positive for ``invalid-class-object`` when the object
509 being assigned to the ``__class__`` attribute is uninferable.
510
511 * Fixed false positive for ``used-before-assignment`` with self-referential type
512 annotation in conditional statements within class methods.
513
514 Closes #5499
515
516 * Add checker ``redefined-slots-in-subclass``: Emitted when a slot is redefined in a subclass.
517
518 Closes #5617
519
520 * Fixed false positive for ``global-variable-not-assigned`` when the ``del`` statement is used
521
522 Closes #5333
523
524 * By default, pylint does no longer take files starting with ``.#`` into account. Those are
525 considered ``Emacs file locks``. See
526 https://www.gnu.org/software/emacs/manual/html_node/elisp/File-Locks.html.
527 This behavior can be reverted by redefining the ``ignore-patterns`` option.
528
529 Closes #367
530
531 * Fixed a false positive for ``used-before-assignment`` when a named expression
532 appears as the first value in a container.
533
534 Closes #5112
535
536 * ``used-before-assignment`` now assumes that assignments in except blocks
537 may not have occurred and warns accordingly.
538
539 Closes #4761
540
541 * When evaluating statements after an except block, ``used-before-assignment``
542 assumes that assignments in the except blocks took place if the
543 corresponding try block contained a return statement.
544
545 Closes #5500
546
547 * Fixed a false negative for ``used-before-assignment`` when some but not all
548 except handlers defined a name relied upon after an except block when the
549 corresponding try block contained a return statement.
550
551 Closes #5524
552
553 * When evaluating statements in the ``else`` clause of a loop, ``used-before-assignment``
554 assumes that assignments in the except blocks took place if the
555 except handlers constituted the only ways for the loop to finish without
556 breaking early.
557
558 Closes #5683
559
560 * ``used-before-assignment`` now checks names in try blocks.
561
562 * Fixed false positive with ``used-before-assignment`` for assignment expressions
563 in lambda statements.
564
565 Closes #5360, #3877
566
567 * Fixed a false positive (affecting unreleased development) for
568 ``used-before-assignment`` involving homonyms between filtered comprehensions
569 and assignments in except blocks.
570
571 Closes #5586
572
573 * Fixed crash with slots assignments and annotated assignments.
574
575 Closes #5479
576
577 * Fixed crash on list comprehensions that used ``type`` as inner variable name.
578
579 Closes #5461
580
581 * Fixed crash in ``use-maxsplit-arg`` checker when providing the ``sep`` argument
582 to ``str.split()`` by keyword.
583
584 Closes #5737
585
586 * Fix false positive for ``unused-variable`` for a comprehension variable matching
587 an outer scope type annotation.
588
589 Closes #5326
590
591 * Fix false negative for ``undefined-variable`` for a variable used multiple times
592 in a comprehension matching an unused outer scope type annotation.
593
594 Closes #5654
595
596 * Some files in ``pylint.testutils`` were deprecated. In the future imports should be done from the
597 ``pylint.testutils.functional`` namespace directly.
598
599 * Fixed false positives for ``no-value-for-parameter`` with variadic
600 positional arguments.
601
602 Closes #5416
603
604 * ``safe_infer`` no longer makes an inference when given two function
605 definitions with differing numbers of arguments.
606
607 Closes #3675
608
609 * Fix ``comparison-with-callable`` false positive for callables that raise, such
610 as typing constants.
611
612 Closes #5557
613
614 * Fixed a crash on ``__init__`` nodes when the attribute was previously uninferable due to a cache
615 limit size. This limit can be hit when the inheritance pattern of a class (and therefore of the ``__init__`` attribute) is very large.
616
617 Closes #5679
618
619 * Fix false positive for ``used-before-assignment`` from a class definition
620 nested under a function subclassing a class defined outside the function.
621
622 Closes #4590
623
624 * Fix ``unnecessary_dict_index_lookup`` false positive when deleting a dictionary's entry.
625
626 Closes #4716
627
628 * Fix false positive for ``used-before-assignment`` when an except handler
629 shares a name with a test in a filtered comprehension.
630
631 Closes #5817
632
633 * Fix crash in ``unnecessary-dict-index-lookup`` checker if the output of
634 ``items()`` is assigned to a 1-tuple.
635
636 Closes #5504
637
638 * When invoking ``pylint``, ``epylint``, ``symilar`` or ``pyreverse`` by importing them in a python file
639 you can now pass an ``argv`` keyword besides patching ``sys.argv``.
640
641 Closes #5320
642
643 * The ``PyLinter`` class will now be initialized with a ``TextReporter``
644 as its reporter if none is provided.
645
646 * Fix ``super-init-not-called`` when parent or ``self`` is a ``Protocol``
647
648 Closes #4790
649
650 * Fix false positive ``not-callable`` with attributes that alias ``NamedTuple``
651
652 Fixes part of #1730
653
654 * Emit ``redefined-outer-name`` when a nested except handler shadows an outer one.
655
656 Closes #4434
657 Closes #5370
658
659 * Fix false positive ``super-init-not-called`` for classes that inherit their ``init`` from
660 a parent.
661
662 Closes #4941
663
664 * ``encoding`` can now be supplied as a positional argument to calls that open
665 files without triggering ``unspecified-encoding``.
666
667 Closes #5638
668
669 * Fatal errors now emit a score of 0.0 regardless of whether the linted module
670 contained any statements
671
672 Closes #5451
673
674 * ``fatal`` was added to the variables permitted in score evaluation expressions.
675
676 * The default score evaluation now uses a floor of 0.
677
678 Closes #2399
679
680 * Fix false negative for ``consider-iterating-dictionary`` during membership checks encapsulated in iterables
681 or ``not in`` checks
682
683 Closes #5323
684
685 * Fixed crash on uninferable decorators on Python 3.6 and 3.7
686
687 * Add checker ``unnecessary-ellipsis``: Emitted when the ellipsis constant is used unnecessarily.
688
689 Closes #5460
690
691 * Disable checker ``bad-docstring-quotes`` for Python <= 3.7, because in these versions the line
692 numbers for decorated functions and classes are not reliable which interferes with the checker.
693
694 Closes #3077
695
696 * Fixed incorrect classification of Numpy-style docstring as Google-style docstring for
697 docstrings with property setter documentation.
698 Docstring classification is now based on the highest amount of matched sections instead
699 of the order in which the docstring styles were tried.
700
701 * Fixed detection of ``arguments-differ`` when superclass static
702 methods lacked a ``@staticmethod`` decorator.
703
704 Closes #5371
705
706 * ``TypingChecker``
707
708 * Added new check ``broken-noreturn`` to detect broken uses of ``typing.NoReturn``
709 if ``py-version`` is set to Python ``3.7.1`` or below.
710 https://bugs.python.org/issue34921
711
712 * Added new check ``broken-collections-callable`` to detect broken uses of ``collections.abc.Callable``
713 if ``py-version`` is set to Python ``3.9.1`` or below.
714 https://bugs.python.org/issue42965
715
716 * The ``testutils`` for unittests now accept ``end_lineno`` and ``end_column``. Tests
717 without these will trigger a ``DeprecationWarning``.
718
719 * ``arguments-differ`` will no longer complain about method redefinitions with extra parameters
720 that have default values.
721
722 Closes #1556, #5338
723
724 * Fixed false positive ``unexpected-keyword-arg`` for decorators.
725
726 Closes #258
727
728 * Importing the deprecated stdlib module ``xml.etree.cElementTree`` now emits ``deprecated_module``.
729
730 Closes #5862
731
732 * Disables for ``deprecated-module`` and similar warnings for stdlib features deprecated
733 in newer versions of Python no longer raise ``useless-suppression`` when linting with
734 older Python interpreters where those features are not yet deprecated.
735
736 * Importing the deprecated stdlib module ``distutils`` now emits ``deprecated_module`` on Python 3.10+.
737
738 * ``missing-raises-doc`` will now check the class hierarchy of the raised exceptions
739
740 .. code-block:: python
741
742 def my_function():
743 """My function.
744
745 Raises:
746 Exception: if something fails
747 """
748 raise ValueError
749
750 Closes #4955
751
752 * Disable spellchecking of mypy rule names in ignore directives.
753
754 Closes #5929
755
756 * Allow disabling ``duplicate-code`` with a disable comment when running through
757 pylint.
758
759 Closes #214
760
761 * Improve ``invalid-name`` check for ``TypeVar`` names.
762 The accepted pattern can be customized with ``--typevar-rgx``.
763
764 Closes #3401
765
766 * Added new checker ``typevar-name-missing-variance``. Emitted when a covariant
767 or contravariant ``TypeVar`` does not end with ``_co`` or ``_contra`` respectively or
768 when a ``TypeVar`` is not either but has a suffix.
769
770 * Allow usage of mccabe 0.7.x release
771
772 Closes #5878
773
774 * Fix ``unused-private-member`` false positive when accessing private methods through ``property``.
775
776 Closes #4756
777
778 .. _`Confusable Characters in PEP 672`: https://peps.python.org/pep-0672/#confusable-characters-in-identifiers