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

From Aditya Toshniwal
Subject [pgAdmin][SonarQube] Reduce cognitive complexity
Date
Msg-id CAM9w-_=03Bkjgy2ofKJe4rPRMOv2O3yWgsC4a1yE9t=MJ3nGLA@mail.gmail.com
Whole thread Raw
Responses Re: [pgAdmin][SonarQube] Reduce cognitive complexity  (Akshay Joshi <akshay.joshi@enterprisedb.com>)
List pgadmin-hackers
Hi Hackers,

Attached patch will reduce cognitive complexity for functions as below:
web/.../servers/pgagent/schedules/__init__.py - 17 to 15
web/.../servers/pgagent/steps/__init__.py - 21 to 15; 29 to 15
web/pgadmin/setup/user_info.py - 22 to 15
web/pgadmin/utils/preferences.py - 29 to 15; 44 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: Feature #3791 Create script for view
Next
From: Akshay Joshi
Date:
Subject: Re: pgAdmin debugger failure when search_path set