File tree Expand file tree Collapse file tree 4 files changed +10
-3
lines changed
doc/data/messages/d/deprecated-argument Expand file tree Collapse file tree 4 files changed +10
-3
lines changed Original file line number Diff line number Diff line change
1
+ int (x = 1 ) # [deprecated-argument]
Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 1
- # This is a placeholder for correct code for this message.
1
+ int ( 1 )
You can’t perform that action at this time.
0 commit comments