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

From Aditya Toshniwal
Subject [pgAdmin][SonarQube] Reduce cognitive complexity
Date
Msg-id CAM9w-_nozC6DZmtwX6bYj17=t_Ev7jETJ3D0HAhc_oDSyhXLKA@mail.gmail.com
Whole thread Raw
Responses Re: [pgAdmin][SonarQube] Reduce cognitive complexity
List pgadmin-hackers
Hi Hackers,

Attached is the patch to reduce cognitive complexity as below:
web/pgadmin/misc/file_manager/__init__.py 20 to 15
web/pgadmin/tools/grant_wizard/__init__.py 55 to 15
web/pgadmin/tools/sqleditor/__init__.py 33 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: Akshay Joshi
Date:
Subject: Re: [pgAdmin][RM4979]: Configuration files for data sources or similar.
Next
From: Pradip Parkale
Date:
Subject: [pgAdmin][SonarQube] : Remove duplicates string literals.