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

From Aditya Toshniwal
Subject [pgAdmin][SonarQube] Reduce cognitive complexity
Date
Msg-id CAM9w-_k_2Vq7o-aNQoL9+T3cWQvvwqwvZcMUpBOeNYaZpph8WQ@mail.gmail.com
Whole thread Raw
Responses Re: [pgAdmin][SonarQube] Reduce cognitive complexity  (Aditya Toshniwal <aditya.toshniwal@enterprisedb.com>)
List pgadmin-hackers
Hi Hackers,

Attached is the patch to reduce cognitive complexity for:
1) web/.../databases/schemas/views/__init__.py from 110 to the 15 allowed.
2) web/.../servers/databases/casts/__init__.py from 18 to the 15 allowed.
3) web/.../databases/schemas/collations/__init__.py from 16 to the 15 allowed.

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: Cyril Jouve
Date:
Subject: Remove compat code for py<3.4
Next
From: Aditya Toshniwal
Date:
Subject: Re: [pgAdmin][SonarQube] Reduce cognitive complexity