diff options
author | Pierre Sassoulas <pierre.sassoulas@gmail.com> | 2022-07-06 12:07:31 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-06 12:07:31 +0200 |
commit | b3b2075f6501132df141eb4b236cb0561aba661d (patch) | |
tree | 0afb3f78ec82a54165460ecbec0ebd40bbed5c22 /doc/user_guide/checkers | |
parent | 7953fd6a6d541b79d0142e26a1ea7d739d59c1bf (diff) | |
download | pylint-git-b3b2075f6501132df141eb4b236cb0561aba661d.tar.gz |
[configuration doc] Add the '--generate-rcfile' option (#7136)
Diffstat (limited to 'doc/user_guide/checkers')
-rw-r--r-- | doc/user_guide/checkers/extensions.rst | 4 | ||||
-rw-r--r-- | doc/user_guide/checkers/features.rst | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/doc/user_guide/checkers/extensions.rst b/doc/user_guide/checkers/extensions.rst index 1e356b9c5..d52c9c704 100644 --- a/doc/user_guide/checkers/extensions.rst +++ b/doc/user_guide/checkers/extensions.rst @@ -292,13 +292,13 @@ Else If Used checker Messages .. _pylint.extensions.empty_comment: -Empty Comment checker +Empty-Comment checker ~~~~~~~~~~~~~~~~~~~~~ This checker is provided by ``pylint.extensions.empty_comment``. Verbatim name of the checker is ``empty-comment``. -Empty Comment checker Messages +Empty-Comment checker Messages ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ :empty-comment (R2044): *Line with empty comment* Used when a # symbol appears on a line not followed by an actual comment diff --git a/doc/user_guide/checkers/features.rst b/doc/user_guide/checkers/features.rst index b36bd7fd7..6b7c8005c 100644 --- a/doc/user_guide/checkers/features.rst +++ b/doc/user_guide/checkers/features.rst @@ -730,7 +730,7 @@ Refactoring checker Messages Emitted when a boolean condition can be simplified to a constant value. :simplify-boolean-expression (R1709): *Boolean expression may be simplified to %s* Emitted when redundant pre-python 2.5 ternary syntax is used. -:consider-using-in (R1714): *Consider merging these comparisons with "in" to %r* +:consider-using-in (R1714): *Consider merging these comparisons with 'in' by using '%s %sin (%s)'. Use a set instead if elements are hashable.* To check if a variable is equal to one of many values, combine the values into a set or tuple and check if the variable is contained "in" it instead of checking for equality against each of the values. This is faster and less |