diff options
author | Nick Drozd <nicholasdrozd@gmail.com> | 2023-04-02 05:41:26 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-02 11:41:26 +0200 |
commit | 3b42318eddaf0fded622179b19c7bcfcead26893 (patch) | |
tree | 502297ad801e6f05d56daff86500c74ba0ee8036 /pylint/testutils | |
parent | f7bd67604f395cd50734b9559acc37ae5d34ce4b (diff) | |
download | pylint-git-3b42318eddaf0fded622179b19c7bcfcead26893.tar.gz |
Add Pyreverse option to exclude standalone nodes (#8520)
* Add Pyreverse option to exclude standalone nodes
* Add test
* Add package test
* Fix test names
* Clean up test files
Diffstat (limited to 'pylint/testutils')
-rw-r--r-- | pylint/testutils/pyreverse.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pylint/testutils/pyreverse.py b/pylint/testutils/pyreverse.py index ba79ebf8b..24fddad77 100644 --- a/pylint/testutils/pyreverse.py +++ b/pylint/testutils/pyreverse.py @@ -37,6 +37,7 @@ class PyreverseConfig( all_ancestors: bool | None = None, show_associated: int | None = None, all_associated: bool | None = None, + no_standalone: bool = False, show_builtin: bool = False, show_stdlib: bool = False, module_names: bool | None = None, @@ -59,6 +60,7 @@ class PyreverseConfig( self.all_ancestors = all_ancestors self.show_associated = show_associated self.all_associated = all_associated + self.no_standalone = no_standalone self.show_builtin = show_builtin self.show_stdlib = show_stdlib self.module_names = module_names |