[pgAdmin][SonarQube] Reduce cognitive complexity

Поиск
Список
Период
Сортировка
От Aditya Toshniwal
Тема [pgAdmin][SonarQube] Reduce cognitive complexity
Дата
Msg-id CAM9w-_moH7tyW-+Bq-8GbM13N+ck2-enRzQgDdDpM+MRMGrAgA@mail.gmail.com
обсуждение исходный текст
Ответы Re: [pgAdmin][SonarQube] Reduce cognitive complexity  (Akshay Joshi <akshay.joshi@enterprisedb.com>)
Список pgadmin-hackers
Attached patch reduces the cognitive complexity as below:
web/pgadmin/tools/sqleditor/utils/is_begin_required.py - 89 to 15
web/pgadmin/utils/driver/psycopg2/connection.py - 16 to 15
web/setup.py - 17 to 15

Please review.

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

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

Предыдущее
От: Dave Page
Дата:
Сообщение: Re: Patch for SonarQube code scan fixes.
Следующее
От: Akshay Joshi
Дата:
Сообщение: pgAdmin 4 commit: Fixed cognitive complexity issues reported by SonarQu