Skip to content

Commit 7f36b5b

Browse files
authored
Regenerate docs (#10560)
1 parent d956e03 commit 7f36b5b

File tree

2 files changed

+21
-3
lines changed

2 files changed

+21
-3
lines changed

doc/user_guide/checkers/features.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,8 @@ Basic checker Messages
106106
a try...finally block: the exceptions raised in the try clause will be
107107
silently swallowed instead of being re-raised.
108108
:break-in-finally (W0137): *'break' discouraged inside 'finally' clause*
109-
Emitted when the `break` keyword is found inside a finally clause. This
110-
will raise a SyntaxWarning starting in Python 3.14.
109+
Emitted when the `break` keyword is found inside a finally clause. This will
110+
raise a SyntaxWarning starting in Python 3.14.
111111
:continue-in-finally (W0136): *'continue' discouraged inside 'finally' clause*
112112
Emitted when the `continue` keyword is found inside a finally clause. This
113113
will raise a SyntaxWarning starting in Python 3.14.
@@ -193,7 +193,7 @@ Basic checker Messages
193193
:missing-parentheses-for-call-in-test (W0126): *Using a conditional statement with potentially wrong function or method call due to missing parentheses*
194194
Emitted when a conditional statement (If or ternary if) seems to wrongly call
195195
a function due to missing parentheses
196-
:comparison-of-constants (R0133): *Comparison between constants: '%s %s %s' has a constant value*
196+
:comparison-of-constants (R0133): *Comparison between constants: "%s %s %s" has a constant value*
197197
When two literals are compared with each other the result is a constant.
198198
Using the constant directly is both easier to read and more performant.
199199
Initializing 'True' and 'False' this way is not required since Python 2.3.

doc/user_guide/configuration/all-options.rst

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -492,6 +492,13 @@ Standard Checkers
492492
**Default:** ``re.compile('^_')``
493493

494494

495+
--paramspec-rgx
496+
"""""""""""""""
497+
*Regular expression matching correct parameter specification variable names. If left empty, parameter specification variable names will be checked with the set naming style.*
498+
499+
**Default:** ``None``
500+
501+
495502
--property-classes
496503
""""""""""""""""""
497504
*List of decorators that produce properties, such as abc.abstractproperty. Add to this list to register other decorators that produce valid properties. These decorators are taken in consideration only for invalid-name.*
@@ -513,6 +520,13 @@ Standard Checkers
513520
**Default:** ``None``
514521

515522

523+
--typevartuple-rgx
524+
""""""""""""""""""
525+
*Regular expression matching correct type variable tuple names. If left empty, type variable tuple names will be checked with the set naming style.*
526+
527+
**Default:** ``None``
528+
529+
516530
--variable-naming-style
517531
"""""""""""""""""""""""
518532
*Naming style matching correct variable names.*
@@ -604,12 +618,16 @@ Standard Checkers
604618
605619
no-docstring-rgx = "^_"
606620
621+
# paramspec-rgx =
622+
607623
property-classes = ["abc.abstractproperty"]
608624
609625
# typealias-rgx =
610626
611627
# typevar-rgx =
612628
629+
# typevartuple-rgx =
630+
613631
# Possible choices: ['snake_case', 'camelCase', 'PascalCase', 'UPPER_CASE', 'any']
614632
variable-naming-style = "snake_case"
615633

0 commit comments

Comments
 (0)