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-06-26 09:35:49
Message-ID: E1joklx-00013c-NJ@gothos.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Fixed following SonarQube issues:
1) Refactor function to reduce its Cognitive Complexity.
2) Rename variable to match the regular expression ^[_a-z][a-z0-9_]*$.

Branch
------
master

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

Modified Files
--------------
.../databases/schemas/functions/__init__.py | 119 +++++++-----
.../servers/databases/schemas/packages/__init__.py | 210 +++++++++++----------
2 files changed, 181 insertions(+), 148 deletions(-)

Browse pgadmin-hackers by date

  From Date Subject
Next Message Akshay Joshi 2020-06-26 09:37:07 Re: Patch for SonarQube code scan.
Previous Message Nikhil Mohite 2020-06-26 09:05:38 Re: Patch for SonarQube code scan.