pgAdmin 4 commit: Fixed SonarQube issues with the tag unused. All the u - Mailing list pgadmin-hackers

From Akshay Joshi
Subject pgAdmin 4 commit: Fixed SonarQube issues with the tag unused. All the u
Date
Msg-id E1joLqb-0000vs-4h@gothos.postgresql.org
Whole thread Raw
List pgadmin-hackers
Fixed SonarQube issues with the tag unused. All the unused variables, assignments, code comments are fixed.

Branch
------
master

Details
-------
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=d3b3d07f2e8864d8bd3a1595e4679ea77e632708
Author: Aditya Toshniwal <aditya.toshniwal@enterprisedb.com>

Modified Files
--------------
.../schemas/tables/rules/static/js/rule.js         |  5 ++--
web/pgadmin/dashboard/__init__.py                  |  1 -
.../feature_tests/pg_datatype_validation_test.py   |  4 ---
web/pgadmin/feature_tests/query_tool_tests.py      | 14 +++--------
.../xss_checks_panels_and_query_tool_test.py       |  1 -
web/pgadmin/misc/file_manager/__init__.py          |  1 -
web/pgadmin/setup/user_info.py                     |  2 +-
web/pgadmin/static/js/backgrid.pgadmin.js          | 10 ++++----
web/pgadmin/static/js/keyboard_shortcuts.js        |  2 +-
web/pgadmin/static/vendor/backform/backform.js     | 29 +++++++++-------------
web/pgadmin/static/vendor/backgrid/backgrid.js     | 16 ++++++------
.../tools/grant_wizard/static/js/grant_wizard.js   |  7 +++---
.../tools/schema_diff/static/js/schema_diff_ui.js  |  2 +-
web/pgadmin/tools/sqleditor/__init__.py            |  1 -
web/pgadmin/utils/ajax.py                          |  2 +-
web/pgadmin/utils/csrf.py                          |  2 +-
web/pgadmin/utils/driver/registry.py               |  2 +-
web/regression/feature_utils/pgadmin_page.py       |  1 -
.../python_test_utils/csrf_test_client.py          |  2 +-
19 files changed, 40 insertions(+), 64 deletions(-)


pgadmin-hackers by date:

Previous
From: Akshay Joshi
Date:
Subject: Re: [pgAdmin4][Patch] - SonarQube Issues - 6 (A conditionallyexecuted single line should be denoted by indentation, A "while" loop shouldbe used instead of a "for" loop, Variables should be declared explicitly)
Next
From: Akshay Joshi
Date:
Subject: Re: [pgAdmin][patch] SonarQube reported issues tagged - unused