Fixed cognitive complexity issues reported by SonarQube. Branch ------ master
Details ------- https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=9d006d0ec5deb8970e56554b39c8241b6d3aede1 Author: Nikhil Mohite <nikhil.moh...@enterprisedb.com> Modified Files -------------- .../servers/databases/schemas/types/__init__.py | 136 ++++++++++++--------- web/pgadmin/preferences/__init__.py | 80 +++++++----- web/pgadmin/tools/import_export/__init__.py | 76 ++++++++---- web/pgadmin/tools/schema_diff/directory_compare.py | 53 ++++++-- 4 files changed, 225 insertions(+), 120 deletions(-)