pgAdmin 4 commit: Fixed following SonarQube issues:

From: Akshay Joshi <akshay(dot)joshi(at)enterprisedb(dot)com>
To: pgadmin-hackers(at)lists(dot)postgresql(dot)org
Subject: pgAdmin 4 commit: Fixed following SonarQube issues:
Date: 2020-07-27 11:02:58
Message-ID: E1k00uI-0001SP-Np@gothos.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Fixed following SonarQube issues:
  1) Define a constant instead of duplicating this literal.
  2) Reduce cognitive complexity (Patch by Aditya)

Branch
------
master

Details
-------
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=fb0bc65cedcf00d5e539ae7e4eaad0786438fbb1

Modified Files
--------------
.../servers/databases/casts/__init__.py | 30 +-
.../external_tables/actions/get_all_nodes.py | 4 -
.../servers/databases/languages/__init__.py | 3 +-
.../servers/databases/schemas/__init__.py | 41 ++-
.../databases/schemas/collations/__init__.py | 14 +-
.../servers/databases/schemas/domains/__init__.py | 6 +-
.../databases/schemas/foreign_tables/__init__.py | 10 +-
.../schemas/fts_configurations/__init__.py | 11 +-
.../databases/schemas/fts_parsers/__init__.py | 15 +-
.../databases/schemas/fts_templates/__init__.py | 4 +-
.../databases/schemas/functions/__init__.py | 6 +-
.../servers/databases/schemas/tables/__init__.py | 2 +-
.../databases/schemas/tables/indexes/__init__.py | 2 +-
.../schemas/tables/partitions/__init__.py | 2 +-
.../servers/databases/schemas/tables/utils.py | 8 +-
.../servers/databases/schemas/views/__init__.py | 397 +++++++++++----------
.../servers/resource_groups/__init__.py | 33 +-
.../server_groups/servers/tablespaces/__init__.py | 8 +-
web/pgadmin/browser/utils.py | 7 +
web/pgadmin/tools/debugger/__init__.py | 47 ++-
20 files changed, 346 insertions(+), 304 deletions(-)

Browse pgadmin-hackers by date

  From Date Subject
Next Message Akshay Joshi 2020-07-27 11:03:21 Re: [pgAdmin][SonarQube] Reduce cognitive complexity
Previous Message Dave Page 2020-07-27 10:29:34 pgAdmin 4 commit: Add a --yes command line option to setup-web.sh to al