Fix hacking rules and docs job

Change-Id: I2d86f266165ad98ded9f0bb9f11abfd8aa2c09ef
This commit is contained in:
Davanum Srinivas 2015-08-07 22:12:44 -04:00
parent 8edc3f30ae
commit 5645b7b93d
3 changed files with 4 additions and 9 deletions

View File

@ -33,8 +33,8 @@ for psycopg2 (PyMySQL is a pure-Python implementation and so needs no
additional system packages). For Ubuntu/Debian they are python-dev, and additional system packages). For Ubuntu/Debian they are python-dev, and
libpq-dev. For Fedora/CentOS - gcc, python-devel and postgresql-devel. libpq-dev. For Fedora/CentOS - gcc, python-devel and postgresql-devel.
There is also a separate env for testing with MySQL-python. If you are suppose There is also a separate env for testing with MySQL-python. If you are suppose
to run these tests as well, you need to install libmysqlclient-dev on Ubuntu/Debian to run these tests as well, you need to install libmysqlclient-dev on
or mysql-devel for Fedora/CentOS. Ubuntu/Debian or mysql-devel for Fedora/CentOS.
The oslo.db unit tests system allows to run unittests on real databases. At the The oslo.db unit tests system allows to run unittests on real databases. At the
moment it supports MySQL, PostgreSQL and SQLite. moment it supports MySQL, PostgreSQL and SQLite.

View File

@ -49,14 +49,9 @@ commands =
python setup.py build_sphinx python setup.py build_sphinx
[flake8] [flake8]
# H803 skipped on purpose per list discussion.
# E123, E125 skipped as they are invalid PEP-8. # E123, E125 skipped as they are invalid PEP-8.
# TODO(pblaho): enable H305 when hacking is patched ignore = E123,E125
# H305 skipped b/c of hacking is confused with oslo.* namespace
# see https://bugs.launchpad.net/hacking/+bug/1329363
show-source = True show-source = True
ignore = E123,E125,H305,H307,H803,H904
exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build
[hacking] [hacking]