From: | Aditya Toshniwal <aditya(dot)toshniwal(at)enterprisedb(dot)com> |
---|---|
To: | pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org> |
Subject: | Re: [pgAdmin][SonarQube] Reduce cognitive complexity |
Date: | 2020-07-27 05:29:50 |
Message-ID: | CAM9w-_mgO3_tw+v-6miADC7snzAVm=u_4HHZ8c_DtvBGNFUKFQ@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgadmin-hackers |
Hi Hackers,
Please ignore the previous patch. Attached is the latest.
On Mon, Jul 27, 2020 at 10:42 AM Aditya Toshniwal <
aditya(dot)toshniwal(at)enterprisedb(dot)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*
> <http://edbpostgres.com>
> "Don't Complain about Heat, Plant a TREE"
>
--
Thanks,
Aditya Toshniwal
pgAdmin hacker | Sr. Software Engineer | *edbpostgres.com*
<http://edbpostgres.com>
"Don't Complain about Heat, Plant a TREE"
Attachment | Content-Type | Size |
---|---|---|
sonarqube.cognitive.view.patch | application/octet-stream | 16.8 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Dave Page | 2020-07-27 10:03:17 | pgAdmin 4 commit: Remove old Python 2 compatibility code. Fixes #5700 |
Previous Message | Aditya Toshniwal | 2020-07-27 05:12:02 | [pgAdmin][SonarQube] Reduce cognitive complexity |