Skip to content

Commit 2f9af7d

Browse files
authored
doc: Update custom_checkers.rst (#10428)
fix #10341.
1 parent d1ea622 commit 2f9af7d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

doc/development_guide/how_tos/custom_checkers.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -271,6 +271,7 @@ The message is then formatted using the ``args`` parameter from ``add_message``
271271
standing for ``Convention``, ``Warning``, ``Error``, ``Fatal`` and ``Refactoring``.
272272
The 4 digits should not conflict with existing checkers
273273
and the first 2 digits should consistent across the checker (except shared messages).
274+
It is safe to use 51-99 as the first 2 digits for custom checkers because this range is reserved for them.
274275

275276
* The ``displayed-message`` is used for displaying the message to the user,
276277
once it is emitted.

0 commit comments

Comments
 (0)