pgAdmin 4 commit: Fixed cognitive complexity issues reported by SonarQu

From: Akshay Joshi <akshay(dot)joshi(at)enterprisedb(dot)com>
To: pgadmin-hackers(at)lists(dot)postgresql(dot)org
Subject: pgAdmin 4 commit: Fixed cognitive complexity issues reported by SonarQu
Date: 2020-07-29 12:59:14
Message-ID: E1k0lfu-0001Vm-7d@gothos.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Fixed cognitive complexity issues reported by SonarQube.

Branch
------
master

Details
-------
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=89fa85d650674cdab9fa5765e02d7727bca7f4fa
Author: Nikhil Mohite <nikhil(dot)mohite(at)enterprisedb(dot)com>

Modified Files
--------------
.../databases/schemas/foreign_tables/__init__.py | 3 +-
.../databases/schemas/tables/columns/utils.py | 65 ++++++++----
.../schemas/tables/compound_triggers/__init__.py | 60 ++++++-----
.../schemas/tables/compound_triggers/utils.py | 3 +-
.../constraints/check_constraint/__init__.py | 81 +++++++++------
.../tables/constraints/check_constraint/utils.py | 36 ++++---
.../tables/constraints/foreign_key/__init__.py | 115 +++++++++++++--------
.../constraints/index_constraint/__init__.py | 70 ++++++++-----
8 files changed, 276 insertions(+), 157 deletions(-)

Browse pgadmin-hackers by date

  From Date Subject
Next Message Akshay Joshi 2020-07-29 13:00:51 Re: Patch for SonarQube code scan fixes.
Previous Message Rahul Shirsat 2020-07-29 10:21:42 Re: [pgAdmin][RM5632] Cannot specify start with value during setup of an identity column