[pgAdmin][SonarQube] Reduce cognitive complexity
[pgAdmin][SonarQube] Reduce cognitive complexity
Hi Hackers,
Attached patch reduces cognitive complexity as below:
web/pgadmin/utils/driver/psycopg2/__init__.py - 23 to 15, 17 to 15
web/setup.py 77 to 15
Please review.
Thanks,
Aditya Toshniwal
pgAdmin hacker | Sr. Software Engineer | edbpostgres.com
"Don't Complain about Heat, Plant a TREE"
Re: [pgAdmin][SonarQube] Reduce cognitive complexity
От:
Akshay Joshi <akshay.joshi@enterprisedb.com>
Дата:
Thanks, patch applied.
On Tue, Sep 1, 2020 at 3:34 PM Aditya Toshniwal <aditya.toshniwal@enterprisedb.com> wrote:
Hi Hackers,Attached patch reduces cognitive complexity as below:web/.../server_groups/servers/pgagent/__init__.py - 23 to 15
web/pgadmin/utils/driver/psycopg2/__init__.py - 23 to 15, 17 to 15
web/setup.py 77 to 15Please review.--Thanks,Aditya ToshniwalpgAdmin hacker | Sr. Software Engineer | edbpostgres.com"Don't Complain about Heat, Plant a TREE"
--
Thanks & Regards
Akshay Joshi
pgAdmin Hacker | Sr. Software Architect
EDB PostgresMobile: +91 976-788-8246