Fixed the errors, and warnings reported by pylama. TODO:: - Don't use unicode in Python 3 for removing the support of Python 2 ( psycopg2 driver - __init__.py, server_manager.py). - Merge the lastest pgcli (version: 3.0.0) for SQL autocompletion.
Branch ------ master Details ------- https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=e73e2d250252fc0f6eaa299ae848b5e22ff3e63f Modified Files -------------- .../schemas/tables/constraints/foreign_key/__init__.py | 6 +++--- .../foreign_key/sql/tests/test_foreign_key_properties.py | 3 ++- web/pgadmin/misc/bgprocess/process_executor.py | 4 ++-- web/pgadmin/setup/user_info.py | 12 ++++-------- web/pgadmin/tools/backup/tests/test_backup_utils.py | 8 ++++---- web/pgadmin/tools/datagrid/__init__.py | 9 +++++---- web/pgadmin/tools/debugger/__init__.py | 9 ++++----- .../maintenance/tests/test_create_maintenance_job.py | 12 +++++++----- .../tools/restore/tests/test_create_restore_job.py | 13 +++++++------ web/pgadmin/utils/driver/psycopg2/connection.py | 16 +++++----------- 10 files changed, 43 insertions(+), 49 deletions(-)