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

From Akshay Joshi
Subject Re: [pgAdmin][SonarQube] Reduce cognitive complexity
Date
Msg-id CANxoLDfP08OdaHLPjM8uyUoGuYGwi7fCR3sa9rJTMb+jAnTqAQ@mail.gmail.com
Whole thread Raw
In response to [pgAdmin][SonarQube] Reduce cognitive complexity  (Aditya Toshniwal <aditya.toshniwal@enterprisedb.com>)
Responses Re: [pgAdmin][SonarQube] Reduce cognitive complexity
List pgadmin-hackers
Hi Aditya

The patch fixes only 1 code smell and introduce 1 new. Please fix those and resend the patch.

On Tue, Sep 22, 2020 at 11:04 AM Aditya Toshniwal <aditya.toshniwal@enterprisedb.com> wrote:
Hi Hackers,

Attached path will reduce the cognitive complexity as below:web/pgadmin/misc/file_manager/__init__.py 40 to 15; 43 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: Nikhil Mohite
Date:
Subject: Re: [pgAdmin][RM5330]: [Code Coverage] Improve API test cases for Functions
Next
From: Aditya Toshniwal
Date:
Subject: Re: [pgAdmin][SonarQube] Reduce cognitive complexity