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
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
to run these tests as well, you need to install libmysqlclient-dev on Ubuntu/Debian
or mysql-devel for Fedora/CentOS.
to run these tests as well, you need to install libmysqlclient-dev on
Ubuntu/Debian or mysql-devel for Fedora/CentOS.
The oslo.db unit tests system allows to run unittests on real databases. At the
moment it supports MySQL, PostgreSQL and SQLite.

View File

@ -1 +1 @@
.. include:: ../../CONTRIBUTING.rst
.. include:: ../../CONTRIBUTING.rst

View File

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