Update hacking version to latest

1. Update hacking version to latest
2. Update some urls to https
3. change the py35 to py36 since py35 is removed

Change-Id: I6de72299d865225ccb522dca8316a024eebe75fd
This commit is contained in:
jacky06 2019-01-04 23:26:01 +08:00
parent 51cc63494c
commit 6d1ac152a6
3 changed files with 7 additions and 4 deletions

View File

@ -103,8 +103,8 @@ Set up Grafana 4.1
``grafana/plugins/monasca-grafana-datasource/``. ``grafana/plugins/monasca-grafana-datasource/``.
- Use the grafana docs to build and deploy grafana: - Use the grafana docs to build and deploy grafana:
- http://docs.grafana.org/project/building_from_source/ - https://grafana.com/docs/project/building_from_source/
- http://docs.grafana.org/installation/configuration/ - https://grafana.com/docs/installation/configuration/
- Copy ``monasca-ui/grafana-dashboards/*`` to ``/public/dashboards/`` - Copy ``monasca-ui/grafana-dashboards/*`` to ``/public/dashboards/``
in your grafana deployment. in your grafana deployment.
@ -145,4 +145,4 @@ directory of this project:
:: ::
$ tox -e py27,py35 $ tox -e py27,py36

View File

@ -2,7 +2,7 @@
# of appearance. Changing the order has an impact on the overall integration # of appearance. Changing the order has an impact on the overall integration
# process, which may cause wedges in the gate later. # process, which may cause wedges in the gate later.
# Hacking already pins down pep8, pyflakes and flake8 # Hacking already pins down pep8, pyflakes and flake8
hacking!=0.13.0,<0.14,>=0.12.0 # Apache-2.0 hacking>=1.1.0,<1.2.0 # Apache-2.0
coverage!=4.4,>=4.0 # Apache-2.0 coverage!=4.4,>=4.0 # Apache-2.0
mock>=2.0.0 # BSD mock>=2.0.0 # BSD

View File

@ -41,6 +41,9 @@ basepython = python3
commands = /bin/bash run_tests.sh -N --coverage {posargs} commands = /bin/bash run_tests.sh -N --coverage {posargs}
[flake8] [flake8]
# F405 TEMPLATES may be undefined, or defined from star imports
# (because it is not easy to avoid this in openstack_dashboard.test.settings)
ignore = F405
max-line-length = 100 max-line-length = 100
builtins = _ builtins = _
exclude = .venv,.git,.tox,dist,*lib/python*,*egg,build,panel_template,dash_template,local_settings.py,*/local/*,*/test/test_plugins/* exclude = .venv,.git,.tox,dist,*lib/python*,*egg,build,panel_template,dash_template,local_settings.py,*/local/*,*/test/test_plugins/*