[pgAdmin][SonarQube] Reduce cognitive complexity

2020-07-26 Thread Aditya Toshniwal
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.

Re: [pgAdmin][SonarQube] Reduce cognitive complexity

2020-07-26 Thread Aditya Toshniwal
Hi Hackers, Please ignore the previous patch. Attached is the latest. On Mon, Jul 27, 2020 at 10:42 AM Aditya Toshniwal < aditya.toshni...@enterprisedb.com> wrote: > Hi Hackers, > > Attached is the patch to reduce cognitive complexity for: > 1) web/.../databases/schemas/views/__init__.py from 11