@@ -24,16 +24,16 @@ For details, see: https://github.com/pylint-dev/pylint/pull/10482#issuecomment-3
24
24
False Positives Fixed
25
25
---------------------
26
26
27
- - Fix false positives for `possibly-used-before-assignment ` when variables are exhaustively
28
- assigned within a `match ` block.
27
+ - Fix false positives for :ref: `possibly-used-before-assignment ` when variables are exhaustively
28
+ assigned within a :keyword: `match ` block.
29
29
30
30
Closes #9668 (`#9668 <https://github.com/pylint-dev/pylint/issues/9668 >`_)
31
31
32
- - Fix false positive for `missing-raises-doc ` and `missing-yield-doc ` when the method length is less than docstring-min-length.
32
+ - Fix false positive for :ref: `missing-raises-doc ` and :ref: `missing-yield-doc ` when the method length is less than docstring-min-length.
33
33
34
34
Refs #10104 (`#10104 <https://github.com/pylint-dev/pylint/issues/10104 >`_)
35
35
36
- - Fix a false positive for `` unused-variable ` ` when multiple except handlers bind the same name under a try block.
36
+ - Fix a false positive for :ref: ` unused-variable ` when multiple except handlers bind the same name under a try block.
37
37
38
38
Closes #10426 (`#10426 <https://github.com/pylint-dev/pylint/issues/10426 >`_)
39
39
@@ -42,7 +42,7 @@ False Positives Fixed
42
42
False Negatives Fixed
43
43
---------------------
44
44
45
- - Fix false-negative for `` used-before-assignment ` ` with ``from __future__ import annotations `` in function definitions.
45
+ - Fix false-negative for :ref: ` used-before-assignment ` with ``from __future__ import annotations `` in function definitions.
46
46
47
47
Refs #10482 (`#10482 <https://github.com/pylint-dev/pylint/issues/10482 >`_)
48
48
@@ -69,7 +69,7 @@ Release date: 2025-05-04
69
69
False Positives Fixed
70
70
---------------------
71
71
72
- - Comparisons between two calls to `type() ` won't raise an `` unidiomatic-typecheck ` ` warning anymore, consistent with the behavior applied only for ``== `` previously.
72
+ - Comparisons between two calls to `type() ` won't raise an :ref: ` unidiomatic-typecheck ` warning anymore, consistent with the behavior applied only for ``== `` previously.
73
73
74
74
Closes #10161 (`#10161 <https://github.com/pylint-dev/pylint/issues/10161 >`_)
75
75
@@ -86,7 +86,7 @@ Other Bug Fixes
86
86
87
87
Closes #10282 (`#10282 <https://github.com/pylint-dev/pylint/issues/10282 >`_)
88
88
89
- - Using a slice as a class decorator now raises a `` not-callable ` ` message instead of crashing. A lot of checks that dealt with decorators (too many to list) are now shortcut if the decorator can't immediately be inferred to a function or class definition.
89
+ - Using a slice as a class decorator now raises a :ref: ` not-callable ` message instead of crashing. A lot of checks that dealt with decorators (too many to list) are now shortcut if the decorator can't immediately be inferred to a function or class definition.
90
90
91
91
Closes #10334 (`#10334 <https://github.com/pylint-dev/pylint/issues/10334 >`_)
92
92
@@ -95,7 +95,7 @@ Other Bug Fixes
95
95
Other Changes
96
96
-------------
97
97
98
- - The algorithm used for `` no-member ` ` suggestions is now more efficient and cuts the
98
+ - The algorithm used for :ref: ` no-member ` suggestions is now more efficient and cuts the
99
99
calculation when the distance score is already above the threshold.
100
100
101
101
Refs #10277 (`#10277 <https://github.com/pylint-dev/pylint/issues/10277 >`_)
@@ -110,7 +110,7 @@ Release date: 2025-03-20
110
110
False Positives Fixed
111
111
---------------------
112
112
113
- - Fix a false positive for `used-before-assignment ` when an inner function's return type
113
+ - Fix a false positive for :ref: `used-before-assignment ` when an inner function's return type
114
114
annotation is a class defined at module scope.
115
115
116
116
Closes #9391 (`#9391 <https://github.com/pylint-dev/pylint/issues/9391 >`_)
@@ -125,16 +125,16 @@ Release date: 2025-03-09
125
125
False Positives Fixed
126
126
---------------------
127
127
128
- - Fix false positives for `use-implicit-booleaness-not-comparison `, `use-implicit-booleaness-not-comparison-to-string `
129
- and `use-implicit-booleaness-not-comparison-to-zero ` when chained comparisons are checked.
128
+ - Fix false positives for :ref: `use-implicit-booleaness-not-comparison `, :ref: `use-implicit-booleaness-not-comparison-to-string `
129
+ and :ref: `use-implicit-booleaness-not-comparison-to-zero ` when chained comparisons are checked.
130
130
131
131
Closes #10065 (`#10065 <https://github.com/pylint-dev/pylint/issues/10065 >`_)
132
132
133
- - Fix a false positive for `` invalid-getnewargs-ex-returned ` ` when the tuple or dict has been assigned to a name.
133
+ - Fix a false positive for :ref: ` invalid-getnewargs-ex-returned ` when the tuple or dict has been assigned to a name.
134
134
135
135
Closes #10208 (`#10208 <https://github.com/pylint-dev/pylint/issues/10208 >`_)
136
136
137
- - Remove `getopt ` and `optparse ` from the list of deprecated modules.
137
+ - Remove :py:mod: `getopt ` and :py:mod: `optparse ` from the list of deprecated modules.
138
138
139
139
Closes #10211 (`#10211 <https://github.com/pylint-dev/pylint/issues/10211 >`_)
140
140
@@ -143,15 +143,15 @@ False Positives Fixed
143
143
Other Bug Fixes
144
144
---------------
145
145
146
- - Fixed conditional import x.y causing false positive possibly-used-before-assignment.
146
+ - Fixed conditional import x.y causing false positive :ref: ` possibly-used-before-assignment ` .
147
147
148
148
Closes #10081 (`#10081 <https://github.com/pylint-dev/pylint/issues/10081 >`_)
149
149
150
150
- Fix a crash when something besides a class is found in an except handler.
151
151
152
152
Closes #10106 (`#10106 <https://github.com/pylint-dev/pylint/issues/10106 >`_)
153
153
154
- - Fixed raising invalid-name when using camelCase for private methods with two leading underscores.
154
+ - Fixed raising :ref: ` invalid-name ` when using camelCase for private methods with two leading underscores.
155
155
156
156
Closes #10189 (`#10189 <https://github.com/pylint-dev/pylint/issues/10189 >`_)
157
157
@@ -196,13 +196,13 @@ Release date: 2024-12-23
196
196
False Positives Fixed
197
197
---------------------
198
198
199
- - Fix false positives for `` undefined-variable ` ` for classes using Python 3.12
199
+ - Fix false positives for :ref: ` undefined-variable ` for classes using Python 3.12
200
200
generic type syntax.
201
201
202
202
Closes #9335 (`#9335 <https://github.com/pylint-dev/pylint/issues/9335 >`_)
203
203
204
- - Fix a false positive for `use-implicit-booleaness-not-len `. No lint should be emitted for
205
- generators (`len ` is not defined for generators).
204
+ - Fix a false positive for :ref: `use-implicit-booleaness-not-len `. No lint should be emitted for
205
+ generators (:py:func: `len ` is not defined for generators).
206
206
207
207
Refs #10100 (`#10100 <https://github.com/pylint-dev/pylint/issues/10100 >`_)
208
208
@@ -225,7 +225,7 @@ Release date: 2024-12-01
225
225
False Positives Fixed
226
226
---------------------
227
227
228
- - Fix a false positive for `potential-index-error ` when an indexed iterable
228
+ - Fix a false positive for :ref: `potential-index-error ` when an indexed iterable
229
229
contains a starred element that evaluates to more than one item.
230
230
231
231
Closes #10076 (`#10076 <https://github.com/pylint-dev/pylint/issues/10076 >`_)
@@ -275,7 +275,7 @@ Changes requiring user actions
275
275
New Features
276
276
------------
277
277
278
- - Add new `declare-non-slot ` error which reports when a class has a `__slots__ ` member and a type hint on the class is not present in `__slots__ `.
278
+ - Add new :ref: `declare-non-slot ` error which reports when a class has a `__slots__ ` member and a type hint on the class is not present in `__slots__ `.
279
279
280
280
Refs #9499 (`#9499 <https://github.com/pylint-dev/pylint/issues/9499 >`_)
281
281
@@ -284,7 +284,7 @@ New Features
284
284
New Checks
285
285
----------
286
286
287
- - Added `too-many-positional-arguments ` to allow distinguishing the configuration for too many
287
+ - Added :ref: `too-many-positional-arguments ` to allow distinguishing the configuration for too many
288
288
total arguments (with keyword-only params specified after `* `) from the configuration
289
289
for too many positional-or-keyword or positional-only arguments.
290
290
@@ -293,24 +293,24 @@ New Checks
293
293
294
294
Closes #9099 (`#9099 <https://github.com/pylint-dev/pylint/issues/9099 >`_)
295
295
296
- - Add `using-exception-groups-in-unsupported-version ` and
297
- `using-generic-type-syntax-in-unsupported-version ` for uses of Python 3.11+ or
298
- 3.12+ features on lower supported versions provided with `--py-version `.
296
+ - Add :ref: `using-exception-groups-in-unsupported-version ` and
297
+ :ref: `using-generic-type-syntax-in-unsupported-version ` for uses of Python 3.11+ or
298
+ 3.12+ features on lower supported versions provided with `` --py-version ` `.
299
299
300
300
Closes #9791 (`#9791 <https://github.com/pylint-dev/pylint/issues/9791 >`_)
301
301
302
- - Add `using-assignment-expression-in-unsupported-version ` for uses of `:= ` (walrus operator)
303
- on Python versions below 3.8 provided with `--py-version `.
302
+ - Add :ref: `using-assignment-expression-in-unsupported-version ` for uses of `` := ` ` (walrus operator)
303
+ on Python versions below 3.8 provided with `` --py-version ` `.
304
304
305
305
Closes #9820 (`#9820 <https://github.com/pylint-dev/pylint/issues/9820 >`_)
306
306
307
- - Add `using-positional-only-args-in-unsupported-version ` for uses of positional-only args on
308
- Python versions below 3.8 provided with `--py-version `.
307
+ - Add :ref: `using-positional-only-args-in-unsupported-version ` for uses of positional-only args on
308
+ Python versions below 3.8 provided with `` --py-version ` `.
309
309
310
310
Closes #9823 (`#9823 <https://github.com/pylint-dev/pylint/issues/9823 >`_)
311
311
312
- - Add `` unnecessary-default-type-args ` ` to the ``typing `` extension to detect the use
313
- of unnecessary default type args for `` typing.Generator `` and `` typing.AsyncGenerator ` `.
312
+ - Add :ref: ` unnecessary-default-type-args ` to the ``typing `` extension to detect the use
313
+ of unnecessary default type args for :py:class: ` typing.Generator ` and :py:class: ` typing.AsyncGenerator `.
314
314
315
315
Refs #9938 (`#9938 <https://github.com/pylint-dev/pylint/issues/9938 >`_)
316
316
@@ -319,25 +319,25 @@ New Checks
319
319
False Negatives Fixed
320
320
---------------------
321
321
322
- - Fix computation of never-returning function: ` Never ` is handled in addition to ` NoReturn `, and priority is given to the explicit `--never-returning-functions ` option.
322
+ - Fix computation of never-returning function: :py:class: ` typing. Never ` is handled in addition to :py:class: ` typing. NoReturn `, and priority is given to the explicit `--never-returning-functions ` option.
323
323
324
324
Closes #7565. (`#7565 <https://github.com/pylint-dev/pylint/issues/7565 >`_)
325
325
326
- - Fix a false negative for `await-outside-async ` when await is inside Lambda.
326
+ - Fix a false negative for :ref: `await-outside-async ` when await is inside Lambda.
327
327
328
328
Refs #9653 (`#9653 <https://github.com/pylint-dev/pylint/issues/9653 >`_)
329
329
330
- - Fix a false negative for `` duplicate-argument-name ` ` by including ``positional-only ``, ``*args `` and ``**kwargs `` arguments in the check.
330
+ - Fix a false negative for :ref: ` duplicate-argument-name ` by including ``positional-only ``, ``*args `` and ``**kwargs `` arguments in the check.
331
331
332
332
Closes #9669 (`#9669 <https://github.com/pylint-dev/pylint/issues/9669 >`_)
333
333
334
- - Fix false negative for `multiple-statements ` when multiple statements are present on `else ` and `finally ` lines of `try `.
334
+ - Fix false negative for :ref: `multiple-statements ` when multiple statements are present on :keyword: `else ` and :keyword: `finally ` lines of :keyword: `try `.
335
335
336
336
Refs #9759 (`#9759 <https://github.com/pylint-dev/pylint/issues/9759 >`_)
337
337
338
- - Fix false negatives when `isinstance ` does not have exactly two arguments.
339
- pylint now emits a `too-many-function-args ` or `no-value-for-parameter `
340
- appropriately for `isinstance ` calls.
338
+ - Fix false negatives when :py: func:: `isinstance ` does not have exactly two arguments.
339
+ pylint now emits a :ref: `too-many-function-args ` or :ref: `no-value-for-parameter `
340
+ appropriately for :py:func: `isinstance ` calls.
341
341
342
342
Closes #9847 (`#9847 <https://github.com/pylint-dev/pylint/issues/9847 >`_)
343
343
0 commit comments