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

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

On Mon, Jul 27, 2020 at 11:00 AM Aditya Toshniwal <aditya.toshniwal@enterprisedb.com> wrote:
Hi Hackers,

Please ignore the previous patch. Attached is the latest.

On Mon, Jul 27, 2020 at 10:42 AM Aditya Toshniwal <aditya.toshniwal@enterprisedb.com> wrote:
Hi Hackers,

Attached is the patch to reduce cognitive complexity for:
1) web/.../databases/schemas/views/__init__.py from 110 to the 15 allowed.
2) web/.../servers/databases/casts/__init__.py from 18 to the 15 allowed.
3) web/.../databases/schemas/collations/__init__.py from 16 to the 15 allowed.

Please review.

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


--
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: pgAdmin 4 commit: Fixed following SonarQube issues:
Next
From: Akshay Joshi
Date:
Subject: Re: Runtime refactoring