Re: [pgAdmin][SonarQube] Reduce cognitive complexity of functions

2020-07-23 Thread Akshay Joshi
Thanks, patch applied. On Mon, Jul 20, 2020 at 12:25 PM Aditya Toshniwal < aditya.toshni...@enterprisedb.com> wrote: > Hi Hackers, > > Attached is the patch to reduce cognitive complexity of functions: > 1) web/.../exclusion_constraint/__init__.py > create > from 25 to 15 > 2) web/.../exclusion_c

[pgAdmin][SonarQube] Reduce cognitive complexity of functions

2020-07-19 Thread Aditya Toshniwal
Hi Hackers, Attached is the patch to reduce cognitive complexity of functions: 1) web/.../exclusion_constraint/__init__.py > create > from 25 to 15 2) web/.../exclusion_constraint/__init__.py > sql > from 19 to 15 3) web/.../databases/schemas/utils.py > parse_vacuum_data > from 18 to 15 4) web/...