pgAdmin 4 commit: Fixed following SonarQube issues: - Mailing list pgadmin-hackers

From Akshay Joshi
Subject pgAdmin 4 commit: Fixed following SonarQube issues:
Date
Msg-id E1joklx-00013c-NJ@gothos.postgresql.org
Whole thread Raw
List 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.mohite@enterprisedb.com>

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


pgadmin-hackers by date:

Previous
From: Nikhil Mohite
Date:
Subject: Re: Patch for SonarQube code scan.
Next
From: Akshay Joshi
Date:
Subject: Re: Patch for SonarQube code scan.