diff options
| author | Akihiro Motoki <amotoki@gmail.com> | 2018-12-02 06:21:02 +0900 |
|---|---|---|
| committer | Akihiro Motoki <amotoki@gmail.com> | 2019-01-17 00:05:27 +0900 |
| commit | ac7ac272b3cea296046c518cfaf7dad11954e0c8 (patch) | |
| tree | 81613653790b5e74df218e159871871e2864f410 /openstack_dashboard/enabled | |
| parent | c9536342c22000ad9f8d81d52424b3d3412c29fb (diff) | |
| download | horizon-ac7ac272b3cea296046c518cfaf7dad11954e0c8.tar.gz | |
pylint: fix several coding convention violations
openstack_dashboard/context_processors.py:94:15: C0122: Comparison should be link['url'] != 'horizon:project:api_access:openrcv2' (misplaced-comparison-constant)
openstack_dashboard/settings.py:467:4: C0412: Imports from package horizon are not grouped (ungrouped-imports)
openstack_dashboard/enabled/_1370_project_vg_snapshots.py:9:0: C0301: Line too long (86/80) (line-too-long)
openstack_dashboard/enabled/_1360_project_volume_groups.py:9:0: C0301: Line too long (85/80) (line-too-long)
openstack_dashboard/usage/base.py:62:8: W0106: Expression "[instance_list.extend(u.server_usages) for u in self.usage_list]" is assigned to nothing (expression-not-assigned)
openstack_dashboard/dashboards/project/images/utils.py:43:12: W0106: Expression "[public_images.append(image) for image in images]" is assigned to nothing (expression-not-assigned)
openstack_dashboard/dashboards/project/images/utils.py:75:12: W0106: Expression "[community_images.append(image) for image in images]" is assigned to nothing (expression-not-assigned)
openstack_dashboard/api/glance.py:47:4: C0412: Imports from package glanceclient are not grouped (ungrouped-imports)
openstack_dashboard/api/cinder.py:60:4: C0412: Imports from package cinderclient are not grouped (ungrouped-imports)
openstack_auth/user.py:358:4: E0211: Method has no argument (no-method-argument)
openstack_auth/user.py:362:4: E0211: Method has no argument (no-method-argument)
openstack_dashboard/api/keystone.py:75:4: C0412: Imports from package keystoneclient are not grouped (ungrouped-imports)
horizon/loaders.py:43:16: W0706: The except handler raises immediately (try-except-raise)
horizon/themes.py:174:8: W0706: The except handler raises immediately (try-except-raise)
Change-Id: I40cf3ffbc4519657e11180d2e2fe7401387c5556
Diffstat (limited to 'openstack_dashboard/enabled')
| -rw-r--r-- | openstack_dashboard/enabled/_1360_project_volume_groups.py | 3 | ||||
| -rw-r--r-- | openstack_dashboard/enabled/_1370_project_vg_snapshots.py | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/openstack_dashboard/enabled/_1360_project_volume_groups.py b/openstack_dashboard/enabled/_1360_project_volume_groups.py index cc9621c53..a8856b717 100644 --- a/openstack_dashboard/enabled/_1360_project_volume_groups.py +++ b/openstack_dashboard/enabled/_1360_project_volume_groups.py @@ -6,4 +6,5 @@ PANEL_DASHBOARD = 'project' PANEL_GROUP = 'volumes' # Python panel class of the PANEL to be added. -ADD_PANEL = 'openstack_dashboard.dashboards.project.volume_groups.panel.VolumeGroups' +ADD_PANEL = ('openstack_dashboard.dashboards.project.volume_groups.panel.' + 'VolumeGroups') diff --git a/openstack_dashboard/enabled/_1370_project_vg_snapshots.py b/openstack_dashboard/enabled/_1370_project_vg_snapshots.py index 86da94bf6..62950b6f8 100644 --- a/openstack_dashboard/enabled/_1370_project_vg_snapshots.py +++ b/openstack_dashboard/enabled/_1370_project_vg_snapshots.py @@ -6,4 +6,5 @@ PANEL_DASHBOARD = 'project' PANEL_GROUP = 'volumes' # Python panel class of the PANEL to be added. -ADD_PANEL = 'openstack_dashboard.dashboards.project.vg_snapshots.panel.GroupSnapshots' +ADD_PANEL = ('openstack_dashboard.dashboards.project.vg_snapshots.panel.' + 'GroupSnapshots') |
