Re: [pgAdmin][SonarQube] Reduce cognitive complexity - Mailing list pgadmin-hackers

From Akshay Joshi
Subject Re: [pgAdmin][SonarQube] Reduce cognitive complexity
Date
Msg-id CANxoLDdn0woLVCOjgxHwVYho3PnunsU_i8q4By=kC6BWhxBTxw@mail.gmail.com
Whole thread Raw
In response to [pgAdmin][SonarQube] Reduce cognitive complexity  (Aditya Toshniwal <aditya.toshniwal@enterprisedb.com>)
List pgadmin-hackers
Thanks, patch applied.

On Thu, Sep 3, 2020 at 3:38 PM Aditya Toshniwal <aditya.toshniwal@enterprisedb.com> wrote:
Hi Hackers,

Attached is the patch to reduce cognitive complexity as below:
web/pgadmin/misc/file_manager/__init__.py 20 to 15
web/pgadmin/tools/grant_wizard/__init__.py 55 to 15
web/pgadmin/tools/sqleditor/__init__.py 33 to 15

Please review.

--
Thanks,
Aditya Toshniwal
pgAdmin hacker | Sr. Software Engineer | edbpostgres.com
"Don't Complain about Heat, Plant a TREE"


--
Thanks & Regards
Akshay Joshi
pgAdmin Hacker | Sr. Software Architect
EDB Postgres
Mobile: +91 976-788-8246

pgadmin-hackers by date:

Previous
From: Akshay Joshi
Date:
Subject: Re: [pgAdmin4][Patch] - SonarQube Fixes
Next
From: Pradip Parkale
Date:
Subject: Re: [pgAdmin][SonarQube] : Remove duplicates string literals.