From f0461e1fd8ad55d98685337e745485c792d05299 Mon Sep 17 00:00:00 2001 From: Antonio Quarta Date: Sat, 30 Oct 2021 21:28:03 +0000 Subject: fix accepted output format without graphviz --- pylint/pyreverse/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pylint/pyreverse/main.py b/pylint/pyreverse/main.py index 2e3b56bef..8c098b9d7 100644 --- a/pylint/pyreverse/main.py +++ b/pylint/pyreverse/main.py @@ -203,7 +203,7 @@ class Run(ConfigurationMixIn): super().__init__(usage=__doc__) insert_default_options() args = self.load_command_line_configuration(args) - if self.config.output_format not in ("dot", "vcg"): + if self.config.output_format not in ("dot", "vcg", "puml", "plantuml"): check_graphviz_availability() sys.exit(self.run(args)) -- cgit v1.2.1 From adbd16b9086c94980e33b4435c2f1888c6ce2cb9 Mon Sep 17 00:00:00 2001 From: Antonio Quarta Date: Sun, 31 Oct 2021 11:07:30 +0000 Subject: add changelog and contributor entry --- CONTRIBUTORS.txt | 2 ++ ChangeLog | 2 ++ doc/whatsnew/2.12.rst | 2 ++ 3 files changed, 6 insertions(+) diff --git a/CONTRIBUTORS.txt b/CONTRIBUTORS.txt index cc8393996..fa78fc987 100644 --- a/CONTRIBUTORS.txt +++ b/CONTRIBUTORS.txt @@ -572,3 +572,5 @@ contributors: * Tushar Sadhwani (tusharsadhwani): contributor * Ikraduya Edian: contributor + +* Antonio Quarta (sgheppy): contributor diff --git a/ChangeLog b/ChangeLog index b35606e4b..7beac30fa 100644 --- a/ChangeLog +++ b/ChangeLog @@ -11,6 +11,8 @@ Release date: TBA .. Put new features here and also in 'doc/whatsnew/2.12.rst' +* Fix ``install graphiz`` message which isn't needed for puml output format. + * Fix ``simplify-boolean-expression`` when condition can be inferred as False. Closes #5200 diff --git a/doc/whatsnew/2.12.rst b/doc/whatsnew/2.12.rst index 98008e109..95bdac0db 100644 --- a/doc/whatsnew/2.12.rst +++ b/doc/whatsnew/2.12.rst @@ -64,6 +64,8 @@ Extensions Other Changes ============= +* Fix ``install graphiz`` message which isn't needed for puml output format. + * Fix ``simplify-boolean-expression`` when condition can be inferred as False. Closes #5200 -- cgit v1.2.1