@@ -42,13 +42,6 @@ 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 ``
51
-
52
45
Broad Try Clause checker Messages
53
46
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
54
47
:too-many-try-statements (W0717):
@@ -69,13 +62,6 @@ Checkers that can improve code consistency.
69
62
As such they don't necessarily provide a performance benefit and
70
63
are often times opinionated.
71
64
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 ``.
78
-
79
65
Code Style checker Messages
80
66
^^^^^^^^^^^^^^^^^^^^^^^^^^^
81
67
:consider-using-tuple (R6102): *Consider using an in-place tuple instead of list *
@@ -202,13 +188,6 @@ you can use the ``bad-functions`` option::
202
188
$ pylint a.py --load-plugins=pylint.extensions.bad_builtin --bad-functions=apply,reduce
203
189
...
204
190
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 ``
211
-
212
191
Deprecated Builtins checker Messages
213
192
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
214
193
:bad-builtin (W0141): *Used builtin function %s *
@@ -265,13 +244,6 @@ higher than a preestablished value, which can be controlled through the
265
244
$ pylint a.py --load-plugins=pylint.extensions.mccabe --max-complexity=50
266
245
$
267
246
268
- Design checker Options
269
- ^^^^^^^^^^^^^^^^^^^^^^
270
- :max-complexity:
271
- McCabe complexity cyclomatic threshold
272
-
273
- Default: ``10 ``
274
-
275
247
Design checker Messages
276
248
^^^^^^^^^^^^^^^^^^^^^^^
277
249
:too-complex (R1260): *%s is too complex. The McCabe rating is %d *
@@ -550,34 +522,6 @@ docstring defining the interface, e.g. a superclass method, after "see"::
550
522
Naming inconsistencies in existing parameter and their type documentations are
551
523
still detected.
552
524
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 ``
580
-
581
525
Parameter Documentation checker Messages
582
526
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
583
527
:differing-param-doc (W9017): *"%s" differing in parameter documentation *
@@ -667,18 +611,6 @@ Typing checker Documentation
667
611
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
668
612
Find issue specifically related to type annotations.
669
613
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 ``
681
-
682
614
Typing checker Messages
683
615
^^^^^^^^^^^^^^^^^^^^^^^
684
616
:broken-noreturn (E6004): *'NoReturn' inside compound types is broken in 3.7.0 / 3.7.1 *
0 commit comments