Re: [pgAdmin][SonarQube] Reduce cognitive complexity

Поиск
Список
Период
Сортировка
От Aditya Toshniwal
Тема Re: [pgAdmin][SonarQube] Reduce cognitive complexity
Дата
Msg-id CAM9w-_mgO3_tw+v-6miADC7snzAVm=u_4HHZ8c_DtvBGNFUKFQ@mail.gmail.com
обсуждение исходный текст
Ответ на [pgAdmin][SonarQube] Reduce cognitive complexity  (Aditya Toshniwal <aditya.toshniwal@enterprisedb.com>)
Ответы Re: [pgAdmin][SonarQube] Reduce cognitive complexity  (Akshay Joshi <akshay.joshi@enterprisedb.com>)
Список pgadmin-hackers
Hi Hackers,

Please ignore the previous patch. Attached is the latest.

On Mon, Jul 27, 2020 at 10:42 AM Aditya Toshniwal <aditya.toshniwal@enterprisedb.com> wrote:
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"


--
Thanks,
Aditya Toshniwal
pgAdmin hacker | Sr. Software Engineer | edbpostgres.com
"Don't Complain about Heat, Plant a TREE"
Вложения

В списке pgadmin-hackers по дате отправления:

Предыдущее
От: Aditya Toshniwal
Дата:
Сообщение: [pgAdmin][SonarQube] Reduce cognitive complexity
Следующее
От: Dave Page
Дата:
Сообщение: pgAdmin 4 commit: Remove old Python 2 compatibility code. Fixes #5700