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

From Aditya Toshniwal
Subject [pgAdmin][SonarQube] Reduce cognitive complexity
Date
Msg-id CAM9w-_kC6DRyDLgyVJBRx3_ocjzVWOK4k5_5haOV-GwWjO6vTw@mail.gmail.com
Whole thread Raw
Responses Re: [pgAdmin][SonarQube] Reduce cognitive complexity
List pgadmin-hackers
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 15

Please review.

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

pgadmin-hackers by date:

Previous
From: Murtuza Zabuawala
Date:
Subject: Re: More idiomatic python3 + fix some tests
Next
From: Akshay Joshi
Date:
Subject: pgAdmin 4 commit: Modified 'cryptography' version to less than or equal