Skip to content

Commit aa5adbf

Browse files
authored
Add sphinx reference for whatsnew 3.3 (#10564)
1 parent 59c000a commit aa5adbf

File tree

1 file changed

+37
-37
lines changed

1 file changed

+37
-37
lines changed

doc/whatsnew/3/3.3/index.rst

Lines changed: 37 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -24,16 +24,16 @@ For details, see: https://github.com/pylint-dev/pylint/pull/10482#issuecomment-3
2424
False Positives Fixed
2525
---------------------
2626

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.
2929

3030
Closes #9668 (`#9668 <https://github.com/pylint-dev/pylint/issues/9668>`_)
3131

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.
3333

3434
Refs #10104 (`#10104 <https://github.com/pylint-dev/pylint/issues/10104>`_)
3535

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.
3737

3838
Closes #10426 (`#10426 <https://github.com/pylint-dev/pylint/issues/10426>`_)
3939

@@ -42,7 +42,7 @@ False Positives Fixed
4242
False Negatives Fixed
4343
---------------------
4444

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.
4646

4747
Refs #10482 (`#10482 <https://github.com/pylint-dev/pylint/issues/10482>`_)
4848

@@ -69,7 +69,7 @@ Release date: 2025-05-04
6969
False Positives Fixed
7070
---------------------
7171

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.
7373

7474
Closes #10161 (`#10161 <https://github.com/pylint-dev/pylint/issues/10161>`_)
7575

@@ -86,7 +86,7 @@ Other Bug Fixes
8686

8787
Closes #10282 (`#10282 <https://github.com/pylint-dev/pylint/issues/10282>`_)
8888

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.
9090

9191
Closes #10334 (`#10334 <https://github.com/pylint-dev/pylint/issues/10334>`_)
9292

@@ -95,7 +95,7 @@ Other Bug Fixes
9595
Other Changes
9696
-------------
9797

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
9999
calculation when the distance score is already above the threshold.
100100

101101
Refs #10277 (`#10277 <https://github.com/pylint-dev/pylint/issues/10277>`_)
@@ -110,7 +110,7 @@ Release date: 2025-03-20
110110
False Positives Fixed
111111
---------------------
112112

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
114114
annotation is a class defined at module scope.
115115

116116
Closes #9391 (`#9391 <https://github.com/pylint-dev/pylint/issues/9391>`_)
@@ -125,16 +125,16 @@ Release date: 2025-03-09
125125
False Positives Fixed
126126
---------------------
127127

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.
130130

131131
Closes #10065 (`#10065 <https://github.com/pylint-dev/pylint/issues/10065>`_)
132132

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.
134134

135135
Closes #10208 (`#10208 <https://github.com/pylint-dev/pylint/issues/10208>`_)
136136

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.
138138

139139
Closes #10211 (`#10211 <https://github.com/pylint-dev/pylint/issues/10211>`_)
140140

@@ -143,15 +143,15 @@ False Positives Fixed
143143
Other Bug Fixes
144144
---------------
145145

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`.
147147

148148
Closes #10081 (`#10081 <https://github.com/pylint-dev/pylint/issues/10081>`_)
149149

150150
- Fix a crash when something besides a class is found in an except handler.
151151

152152
Closes #10106 (`#10106 <https://github.com/pylint-dev/pylint/issues/10106>`_)
153153

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.
155155

156156
Closes #10189 (`#10189 <https://github.com/pylint-dev/pylint/issues/10189>`_)
157157

@@ -196,13 +196,13 @@ Release date: 2024-12-23
196196
False Positives Fixed
197197
---------------------
198198

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
200200
generic type syntax.
201201

202202
Closes #9335 (`#9335 <https://github.com/pylint-dev/pylint/issues/9335>`_)
203203

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).
206206

207207
Refs #10100 (`#10100 <https://github.com/pylint-dev/pylint/issues/10100>`_)
208208

@@ -225,7 +225,7 @@ Release date: 2024-12-01
225225
False Positives Fixed
226226
---------------------
227227

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
229229
contains a starred element that evaluates to more than one item.
230230

231231
Closes #10076 (`#10076 <https://github.com/pylint-dev/pylint/issues/10076>`_)
@@ -275,7 +275,7 @@ Changes requiring user actions
275275
New Features
276276
------------
277277

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__`.
279279

280280
Refs #9499 (`#9499 <https://github.com/pylint-dev/pylint/issues/9499>`_)
281281

@@ -284,7 +284,7 @@ New Features
284284
New Checks
285285
----------
286286

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
288288
total arguments (with keyword-only params specified after `*`) from the configuration
289289
for too many positional-or-keyword or positional-only arguments.
290290

@@ -293,24 +293,24 @@ New Checks
293293

294294
Closes #9099 (`#9099 <https://github.com/pylint-dev/pylint/issues/9099>`_)
295295

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``.
299299

300300
Closes #9791 (`#9791 <https://github.com/pylint-dev/pylint/issues/9791>`_)
301301

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``.
304304

305305
Closes #9820 (`#9820 <https://github.com/pylint-dev/pylint/issues/9820>`_)
306306

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``.
309309

310310
Closes #9823 (`#9823 <https://github.com/pylint-dev/pylint/issues/9823>`_)
311311

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`.
314314

315315
Refs #9938 (`#9938 <https://github.com/pylint-dev/pylint/issues/9938>`_)
316316

@@ -319,25 +319,25 @@ New Checks
319319
False Negatives Fixed
320320
---------------------
321321

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.
323323

324324
Closes #7565. (`#7565 <https://github.com/pylint-dev/pylint/issues/7565>`_)
325325

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.
327327

328328
Refs #9653 (`#9653 <https://github.com/pylint-dev/pylint/issues/9653>`_)
329329

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.
331331

332332
Closes #9669 (`#9669 <https://github.com/pylint-dev/pylint/issues/9669>`_)
333333

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`.
335335

336336
Refs #9759 (`#9759 <https://github.com/pylint-dev/pylint/issues/9759>`_)
337337

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.
341341

342342
Closes #9847 (`#9847 <https://github.com/pylint-dev/pylint/issues/9847>`_)
343343

0 commit comments

Comments
 (0)