@@ -42,12 +42,7 @@ Broad Try Clause checker
42
42
This checker is provided by ``pylint.extensions.broad_try_clause ``.
43
43
Verbatim name of the checker is ``broad_try_clause ``.
44
44
45
- Broad Try Clause checker Options
46
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
47
- :max-try-statements:
48
- Maximum number of statements allowed in a try clause
49
-
50
- Default: ``1 ``
45
+ See also :ref: `broad_try_clause checker's options' documentation <broad_try_clause-options >`
51
46
52
47
Broad Try Clause checker Messages
53
48
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -69,12 +64,7 @@ Checkers that can improve code consistency.
69
64
As such they don't necessarily provide a performance benefit and
70
65
are often times opinionated.
71
66
72
- Code Style checker Options
73
- ^^^^^^^^^^^^^^^^^^^^^^^^^^
74
- :max-line-length-suggestions:
75
- Max line length for which to sill emit suggestions. Used to prevent optional
76
- suggestions which would get split by a code formatter (e.g., black). Will
77
- default to the setting for ``max-line-length ``.
67
+ See also :ref: `code_style checker's options' documentation <code_style-options >`
78
68
79
69
Code Style checker Messages
80
70
^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -202,12 +192,7 @@ you can use the ``bad-functions`` option::
202
192
$ pylint a.py --load-plugins=pylint.extensions.bad_builtin --bad-functions=apply,reduce
203
193
...
204
194
205
- Deprecated Builtins checker Options
206
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
207
- :bad-functions:
208
- List of builtins function names that should not be used, separated by a comma
209
-
210
- Default: ``map,filter ``
195
+ See also :ref: `deprecated_builtins checker's options' documentation <deprecated_builtins-options >`
211
196
212
197
Deprecated Builtins checker Messages
213
198
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -265,12 +250,7 @@ higher than a preestablished value, which can be controlled through the
265
250
$ pylint a.py --load-plugins=pylint.extensions.mccabe --max-complexity=50
266
251
$
267
252
268
- Design checker Options
269
- ^^^^^^^^^^^^^^^^^^^^^^
270
- :max-complexity:
271
- McCabe complexity cyclomatic threshold
272
-
273
- Default: ``10 ``
253
+ See also :ref: `design checker's options' documentation <design-options >`
274
254
275
255
Design checker Messages
276
256
^^^^^^^^^^^^^^^^^^^^^^^
@@ -550,33 +530,7 @@ docstring defining the interface, e.g. a superclass method, after "see"::
550
530
Naming inconsistencies in existing parameter and their type documentations are
551
531
still detected.
552
532
553
- Parameter Documentation checker Options
554
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
555
- :accept-no-param-doc:
556
- Whether to accept totally missing parameter documentation in the docstring of
557
- a function that has parameters.
558
-
559
- Default: ``yes ``
560
- :accept-no-raise-doc:
561
- Whether to accept totally missing raises documentation in the docstring of a
562
- function that raises an exception.
563
-
564
- Default: ``yes ``
565
- :accept-no-return-doc:
566
- Whether to accept totally missing return documentation in the docstring of a
567
- function that returns a statement.
568
-
569
- Default: ``yes ``
570
- :accept-no-yields-doc:
571
- Whether to accept totally missing yields documentation in the docstring of a
572
- generator.
573
-
574
- Default: ``yes ``
575
- :default-docstring-type:
576
- If the docstring type cannot be guessed the specified docstring type will be
577
- used.
578
-
579
- Default: ``default ``
533
+ See also :ref: `parameter_documentation checker's options' documentation <parameter_documentation-options >`
580
534
581
535
Parameter Documentation checker Messages
582
536
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -667,17 +621,7 @@ Typing checker Documentation
667
621
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
668
622
Find issue specifically related to type annotations.
669
623
670
- Typing checker Options
671
- ^^^^^^^^^^^^^^^^^^^^^^
672
- :runtime-typing:
673
- Set to ``no `` if the app / library does **NOT ** need to support runtime
674
- introspection of type annotations. If you use type annotations
675
- **exclusively ** for type checking of an application, you're probably fine.
676
- For libraries, evaluate if some users what to access the type hints at
677
- runtime first, e.g., through ``typing.get_type_hints ``. Applies to Python
678
- versions 3.7 - 3.9
679
-
680
- Default: ``yes ``
624
+ See also :ref: `typing checker's options' documentation <typing-options >`
681
625
682
626
Typing checker Messages
683
627
^^^^^^^^^^^^^^^^^^^^^^^
0 commit comments