diff options
author | Akihiro Motoki <amotoki@gmail.com> | 2018-12-02 05:48:03 +0900 |
---|---|---|
committer | Akihiro Motoki <amotoki@gmail.com> | 2019-01-15 00:22:27 +0900 |
commit | 6e1348d05f2326c4f6988b4a59aaf56618fb5af2 (patch) | |
tree | 15dc1df8955b31ca0e621f6b03117713359add3b /openstack_dashboard/settings.py | |
parent | 02a0f81f96eaf6a722d392a541b29992401e914c (diff) | |
download | horizon-6e1348d05f2326c4f6988b4a59aaf56618fb5af2.tar.gz |
pylint: fix several warnings
openstack_dashboard/theme_settings.py:63:8: W1201: Specify string format arguments as logging function parameters (logging-not-lazy)
openstack_dashboard/settings.py:412:24: W0122: Use of exec (exec-used)
openstack_dashboard/dashboards/identity/domains/workflows.py:476:44: W0640: Cell variable group_id defined in loop (cell-var-from-loop)
openstack_dashboard/dashboards/identity/projects/workflows.py:906:49: W0640: Cell variable group_id defined in loop (cell-var-from-loop)
openstack_dashboard/dashboards/admin/networks/views.py:42:0: W0404: Reimport 'views' (imported line 28) (reimported)
openstack_dashboard/api/swift.py:204:0: W0102: Dangerous default value {} as argument (dangerous-default-value)
openstack_dashboard/api/swift.py:214:0: W0102: Dangerous default value {} as argument (dangerous-default-value)
openstack_dashboard/api/cinder.py:248:30: W0631: Using possibly undefined loop variable 'cinder_url' (undefined-loop-variable)
openstack_auth/backend.py:123:28: W0631: Using possibly undefined loop variable 'plugin' (undefined-loop-variable)
openstack_auth/backend.py:129:39: W0631: Using possibly undefined loop variable 'plugin' (undefined-loop-variable)
openstack_auth/backend.py:131:39: W0631: Using possibly undefined loop variable 'plugin' (undefined-loop-variable)
openstack_auth/views.py:39:0: W0611: Unused Login imported from openstack_auth.forms (unused-import)
horizon/exceptions.py:348:8: W0125: Using a conditional statement with a constant value (using-constant-test)
horizon/tables/base.py:353:12: W0715: Exception arguments suggest string formatting might be intended (raising-format-tuple)
Change-Id: Icf4f22abda77c9dbf98c780de876b7836c31d669
Diffstat (limited to 'openstack_dashboard/settings.py')
-rw-r--r-- | openstack_dashboard/settings.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/openstack_dashboard/settings.py b/openstack_dashboard/settings.py index ed9389712..74a7fd51e 100644 --- a/openstack_dashboard/settings.py +++ b/openstack_dashboard/settings.py @@ -407,6 +407,7 @@ if os.path.exists(LOCAL_SETTINGS_DIR_PATH): if filename.endswith(".py"): try: with open(os.path.join(dirpath, filename)) as f: + # pylint: disable=exec-used exec(f.read()) except Exception as e: _LOG.exception( |