summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMarc Mueller <30130371+cdce8p@users.noreply.github.com>2021-03-05 03:20:07 +0100
committerPierre Sassoulas <pierre.sassoulas@gmail.com>2021-03-06 16:21:18 +0100
commit947ee47c87d34abcd8982a61c12888e26111175d (patch)
tree9ca4530f358be0f17c0f4c278c3883bcd396e725 /doc
parent803a2522639a2cd93f889885b1cbfb47642477b3 (diff)
downloadpylint-git-947ee47c87d34abcd8982a61c12888e26111175d.tar.gz
Add --class-const-naming-style
Diffstat (limited to 'doc')
-rw-r--r--doc/user_guide/options.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/user_guide/options.rst b/doc/user_guide/options.rst
index dc464812a..93833d009 100644
--- a/doc/user_guide/options.rst
+++ b/doc/user_guide/options.rst
@@ -35,6 +35,8 @@ name is found in, and not the type of object assigned.
+--------------------+---------------------------------------------------------------------------------------------------+
| ``class-attribute``| Attributes defined in class bodies. |
+--------------------+---------------------------------------------------------------------------------------------------+
+| ``class-const`` | Enum constants and class variables annotated with ``ClassVar`` |
++--------------------+---------------------------------------------------------------------------------------------------+
| ``inlinevar`` | Loop variables in list comprehensions and generator expressions. |
+--------------------+---------------------------------------------------------------------------------------------------+
@@ -76,6 +78,8 @@ Following options are exposed:
.. option:: --class-attribute-naming-style=<style>
+.. option:: --class-const-naming-style=<style>
+
.. option:: --inlinevar-naming-style=<style>
@@ -110,6 +114,8 @@ expression will lead to an instance of ``invalid-name``.
.. option:: --class-attribute-rgx=<regex>
+.. option:: --class-const-rgx=<regex>
+
.. option:: --inlinevar-rgx=<regex>
Multiple naming styles for custom regular expressions