horizon/openstack_dashboard
Akihiro Motoki e5d09edc20 Use python3-style super()
In python3, super() does not always require a class and self reference.
In other words, super() is enough for most cases.
This is much simpler and it is time to switch it to the newer style.

pylint provides a check for this.
Let's enable 'super-with-arguments' check.

NOTE: _prepare_mappings() method of FormRegion in
openstack_dashboard/test/integration_tests/regions/forms.py is refactored.
super() (without explicit class and self referece) does not work when
a subclass method calls a same method in a parent class multiple times.
It looks better to prepare a separate method to provide a common logic.

Change-Id: Id9512a14be9f20dbd5ebd63d446570c7b7c825ff
2020-10-15 14:37:20 +09:00
..
api Use python3-style super() 2020-10-15 14:37:20 +09:00
conf Drop cinder consistency group support 2019-05-03 18:16:23 +00:00
contrib Use python3-style super() 2020-10-15 14:37:20 +09:00
dashboards Use python3-style super() 2020-10-15 14:37:20 +09:00
django_pyscss_fix Handle log message interpolation by the logger 2017-03-31 20:59:16 +09:00
enabled Drop cinder consistency group support 2019-05-03 18:16:23 +00:00
local Changed default identity url to horizon 2019-12-06 18:41:38 +08:00
locale Imported Translations from Zanata 2020-09-25 07:07:38 +00:00
management Use python3-style super() 2020-10-15 14:37:20 +09:00
static Fix missing comment in swift storage policy code 2020-09-10 16:45:43 +02:00
templates Set unique identifier for Django messages 2020-09-23 16:00:43 +03:00
templatetags Stop to use the __future__ module. 2020-06-03 10:45:18 +02:00
test Use python3-style super() 2020-10-15 14:37:20 +09:00
themes Implement 'selector-append' sass function 2020-04-14 15:24:01 +00:00
usage Use python3-style super() 2020-10-15 14:37:20 +09:00
utils Use python3-style super() 2020-10-15 14:37:20 +09:00
wsgi Create new wsgi.py file and deprecate old file 2018-05-15 01:41:01 +00:00
.eslintrc
__init__.py
context_processors.py Forwards LOGOUT_URL to templates. 2019-09-20 11:51:48 +02:00
defaults.py Add miss comma of "REST_API_REQUIRED_SETTINGS" list 2020-08-14 11:47:54 +08:00
exceptions.py Drop Heat related code from horizon 2017-12-05 07:38:55 +00:00
hooks.py pylint: fix import-error 2019-01-16 00:00:58 +09:00
karma.conf.js Makes the xstatic files lookup dynamic in the tests 2017-07-27 10:01:33 -04:00
policy.py Specify POLICY_CHECK_FUNCTION as a string 2016-11-25 13:06:14 +01:00
settings.py Fix tempest and pep8 tests 2020-05-12 18:49:34 +02:00
theme_settings.py pylint: fix several warnings 2019-01-15 00:22:27 +09:00
urls.py Define default settings explicitly (openstack_dashboard 5/5) 2019-07-08 18:20:32 +09:00
views.py Use python3-style super() 2020-10-15 14:37:20 +09:00
wsgi.py Fixed path after moving wsgi/django.wsgi to wsgi.py 2018-09-06 12:05:37 +02:00