[pgAdmin][SonarQube] Reduce cognitive complexity
[pgAdmin][SonarQube] Reduce cognitive complexity
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
"Don't Complain about Heat, Plant a TREE"
Re: [pgAdmin][SonarQube] Reduce cognitive complexity
От:
Akshay Joshi <akshay.joshi@enterprisedb.com>
Дата:
Hi Aditya
The patch fixes only 1 code smell and introduce 1 new. Please fix those and resend the patch.
On Tue, Sep 22, 2020 at 11:04 AM Aditya Toshniwal <aditya.toshniwal@enterprisedb.com> wrote:
Hi Hackers,Attached path will reduce the cognitive complexity as below:web/pgadmin/misc/file_manager/__init__.py 40 to 15; 43 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
Re: [pgAdmin][SonarQube] Reduce cognitive complexity
Hi,
Please find the updated patch.
On Tue, Sep 22, 2020 at 2:56 PM Akshay Joshi <akshay.joshi@enterprisedb.com> wrote:
Hi AdityaThe patch fixes only 1 code smell and introduce 1 new. Please fix those and resend the patch.On Tue, Sep 22, 2020 at 11:04 AM Aditya Toshniwal <aditya.toshniwal@enterprisedb.com> wrote:Hi Hackers,Attached path will reduce the cognitive complexity as below:web/pgadmin/misc/file_manager/__init__.py 40 to 15; 43 to 15Please review.--Thanks,Aditya ToshniwalpgAdmin hacker | Sr. Software Engineer | edbpostgres.com"Don't Complain about Heat, Plant a TREE"--Thanks & RegardsAkshay JoshipgAdmin Hacker | Sr. Software ArchitectEDB PostgresMobile: +91 976-788-8246
Thanks,
Aditya Toshniwal
pgAdmin hacker | Sr. Software Engineer | edbpostgres.com
"Don't Complain about Heat, Plant a TREE"