[pgAdmin][SonarQube] Reduce cognitive complexity

From: Aditya Toshniwal <aditya(dot)toshniwal(at)enterprisedb(dot)com>
To: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: [pgAdmin][SonarQube] Reduce cognitive complexity
Date: 2020-09-22 05:33:29
Message-ID: CAM9w-_mwdCFVfy16jgP7CGA5LGTDCnaJjsG19SKeVymmeGbS8Q@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Hi Hackers,

Attached path will reduce the cognitive complexity as
below:web/pgadmin/misc/file_manager/__init__.py
40 to 15; 43 to 15

Please review.

--
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.filemanager.patch application/x-patch 14.1 KB

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Akshay Joshi 2020-09-22 06:11:29 Re: [pgAdmin][RM5330]: [Code Coverage] Improve API test cases for Functions
Previous Message Nikhil Mohite 2020-09-22 05:26:30 [pgAdmin][RM5330]: [Code Coverage] Improve API test cases for Functions