Skip to content

Commit 1e08448

Browse files
JulfriedDudeNr33
andauthored
Update pyreverse documentation (#10251)
* Update documentation * Update pylint/pyreverse/main.py Co-authored-by: Andreas Finkler <[email protected]> * Fix failing CI --------- Co-authored-by: Andreas Finkler <[email protected]>
1 parent c668682 commit 1e08448

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

doc/additional_tools/pyreverse/configuration.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ Filtering and Scope
6060

6161
--max-depth
6262
-----------
63-
*Maximum depth in package/module hierarchy to display. A depth of 0 shows only top-level packages, 1 shows one level of subpackages, etc. If not specified, all packages/modules are shown.*
63+
*Maximum depth of packages/modules to include in the diagram, relative to the deepest specified package. A depth of 0 shows only the specified packages/modules, while 1 includes their immediate children, etc. When specifying nested packages, depth is calculated from the deepest package level. If not specified, all packages/modules in the hierarchy are shown.*
6464

6565
**Default:** ``None``
6666

pylint/pyreverse/main.py

+5-3
Original file line numberDiff line numberDiff line change
@@ -161,9 +161,11 @@
161161
"type": "int",
162162
"group": OPTIONS_GROUPS["FILTERING"],
163163
"help": (
164-
"Maximum depth in package/module hierarchy to display. A depth of 0 shows only "
165-
"top-level packages, 1 shows one level of subpackages, etc. If not specified, "
166-
"all packages/modules are shown."
164+
"Maximum depth of packages/modules to include in the diagram, relative to the "
165+
"deepest specified package. A depth of 0 shows only the specified packages/modules, "
166+
"while 1 includes their immediate children, etc. When specifying nested packages, "
167+
"depth is calculated from the deepest package level. If not specified, all "
168+
"packages/modules in the hierarchy are shown."
167169
),
168170
},
169171
),

0 commit comments

Comments
 (0)