Skip to content

Commit 20fa209

Browse files
[deprecated-argument] Create the initial documentation (#8995)
Refs #5953
1 parent 77dcaad commit 20fa209

File tree

4 files changed

+10
-3
lines changed

4 files changed

+10
-3
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
int(x=1) # [deprecated-argument]
Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,8 @@
1-
The actual replacement need to be studied on a case by case basis
2-
by reading the deprecation warning or the release notes.
1+
This message can be raised on your own code using a `custom deprecation checker`_ (follow link for a full example).
2+
3+
Loading this custom checker using ``load-plugins`` would start raising ``deprecated-argument``.
4+
5+
The actual replacement then need to be studied on a case by case basis by reading the
6+
deprecation warning or the release notes.
7+
8+
.. _`custom deprecation checker`: https://github.com/pylint-dev/pylint/blob/main/examples/deprecation_checker.py
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
# This is a placeholder for correct code for this message.
1+
int(1)

doc/data/messages/d/deprecated-argument/pylintrc

Whitespace-only changes.

0 commit comments

Comments
 (0)