Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
badsketch committed Jun 30, 2024
1 parent 5d16e6e commit ec19e0a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions doc/user_guide/configuration/all-options.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1151,6 +1151,13 @@ Standard Checkers

``Miscellaneous`` **Checker**
-----------------------------
--check-fixme-in-docstring
""""""""""""""""""""""""""
*Whether or not to search for fixme's in docstrings.*

**Default:** ``False``


--notes
"""""""
*List of note tags to take in consideration, separated by a comma.*
Expand All @@ -1176,6 +1183,8 @@ Standard Checkers
.. code-block:: toml
[tool.pylint.miscellaneous]
check-fixme-in-docstring = false
notes = ["FIXME", "XXX", "TODO"]
notes-rgx = ""
Expand Down
2 changes: 1 addition & 1 deletion pylint/checkers/misc.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def process_module(self, node: nodes.Module) -> None:


class EncodingChecker(BaseTokenChecker, BaseRawFileChecker):
"""BaseChecker for encoding issues.
"""BaseChecker for encoding issues and fixme notes.
Checks for:
* warning notes in the code like FIXME, XXX
Expand Down

0 comments on commit ec19e0a

Please sign in to comment.