[pgAdmin][SonarQube] Cognitive complexity

Поиск
Список
Период
Сортировка
От Aditya Toshniwal
Тема [pgAdmin][SonarQube] Cognitive complexity
Дата
Msg-id CAM9w-_n5DUGZVf328e2h6w_8Op47wuSfHDwzpURBeUrhAKG+aQ@mail.gmail.com
обсуждение исходный текст
Ответы Re: [pgAdmin][SonarQube] Cognitive complexity
Список pgadmin-hackers
Hi Hackers,

Attached patch reduces the cognitive complexity of functions for below:
web/.../schemas/packages/edbfuncs/__init__.py 21 to 15
web/.../databases/schemas/types/__init__.py 39 to 15; 80 to 15
web/.../server_groups/servers/pgagent/__init__.py 39 to 15
web/pgadmin/misc/bgprocess/process_executor.py 19 to 15
web/pgadmin/tools/backup/__init__.py 54 to 15

Please review.

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

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

Предыдущее
От: Pradip Parkale
Дата:
Сообщение: Re: [pgAdmin][SonarQube]: Cognitive complexity
Следующее
От: Nikhil Mohite
Дата:
Сообщение: [pgAdmin][RM-5748][RESQL] Incorrect SQL for Foreign key when creating a table