Commit Graph

4 Commits

Author SHA1 Message Date
manchandavishal 046cb42279 Run npm nodejs job with Firefox browser
This patch update browser from Chrome to Firefox
in karma.conf.js because nodejs fails with Chrome
browser as not able to access some URL.
So let's switch to Firefox browser now then we can
use Chrome browser in future once this issue is resolved.

It also updates few packages in 'lower-constraints.txt'
to fix lower-constraints job.

Change-Id: I1467fd00f3746c5c84233f31c8d41609d0345303
2020-12-23 08:04:36 +00:00
Hervé Beraud ca34d0b0dc Stop to use the __future__ module.
The __future__ module [1] was used in this context to ensure compatibility
between python 2 and python 3.

We previously dropped the support of python 2.7 [2] and now we only support
python 3 so we don't need to continue to use this module and the imports
listed below.

Imports commonly used and their related PEPs:
- `division` is related to PEP 238 [3]
- `print_function` is related to PEP 3105 [4]
- `unicode_literals` is related to PEP 3112 [5]
- `with_statement` is related to PEP 343 [6]
- `absolute_import` is related to PEP 328 [7]

[1] https://docs.python.org/3/library/__future__.html
[2] https://governance.openstack.org/tc/goals/selected/ussuri/drop-py27.html
[3] https://www.python.org/dev/peps/pep-0238
[4] https://www.python.org/dev/peps/pep-3105
[5] https://www.python.org/dev/peps/pep-3112
[6] https://www.python.org/dev/peps/pep-0343
[7] https://www.python.org/dev/peps/pep-0328

Change-Id: I8a697a5f4e53fe973076d40a1da2622f9c494d2d
2020-06-02 21:08:37 +02:00
Shu Muto 64a6b4e8be hacking: Specify white list rules in noqa explicity
If 'noqa' is specified all hacking checks are disabled.
It is better to ignore specific rules explicitly rather than
ignoring all. The recent flake8 supports this [1].

[1] http://flake8.pycqa.org/en/stable/user/ignoring-errors.html

Change-Id: I4ea55a0b22f8d6c975dcc074403efe2565078e22
2017-06-23 12:54:08 +09:00
Thai Tran a11cbc78b1 Zaqar-ui base project with empty queues panel
This commit adds the zaqar base and an empty queues panel.
Subsequent patches will add api and content to the queues panel.

Co-Authored-By: Fei Long Wang <flwang@catalyst.net.nz>
Co-Authored-By: Rob Cresswell <rcresswe@cisco.com>
Co-Authored-By: Thai Tran <tqtran@us.ibm.com>
Change-Id: I1f4873d1e36c677956534266de41d80a01c8cd9d
2016-01-14 11:04:32 -08:00