19 Commits

Author SHA1 Message Date
Davanum Srinivas
8e1cd36018 Add tox target to find missing requirements
Change-Id: Ib10eca3bf7813e44991634dc7ed948abbac14597
2015-06-28 11:15:22 -04:00
Davanum Srinivas
1c03572172 Advertise support for Python3.4 / Remove support for 3.3
Change-Id: Icdc1059b94e6f7c27e7d9760cacaa58b87ebc598
2015-05-10 19:14:49 -04:00
James Carey
d6b0ee6d78 Activate pep8 check that _ is imported
Currently translatable messages are not used, so there are no uses
of _.

This will ensure if _ is used in the future pep8 won't assume
it is provided as a builtin.

Change-Id: Id70f5447a8035b76ab69844cf716abd17e232091
2014-10-31 19:51:20 +00:00
Jeremy Stanley
7a091ce8ed Work toward Python 3.4 support and testing
Change-Id: Iadb1b695b8314d385716619561a1604a41f6c8d5
2014-09-03 19:04:36 +00:00
Petr Blaho
b416b5d011 Changes imports order to pass H305, enables check
Changes imports order to pass H305 check with hacking 0.9.x
Removes H305 check from ignore line in tox.ini

Change-Id: I47bbe74f4178f46ea21fc37b69f53ea2d148a65e
2014-07-09 08:01:21 -04:00
Doug Hellmann
15ea871979 Add warning about interpolating values from groups
Add a warning explaining that options in groups cannot be used with
the interpolation syntax.

Reformat note to use directive so it is highlighted.

Add "docs" section to tox.ini to make testing doc build easier.

Change-Id: If5106aa44d4c87abe84a7fb7a250541bba9f5068
2014-06-17 07:00:42 -07:00
Davanum Srinivas
18601d3234 Bump hacking to 0.9.x series
In order to keep this patch to just a requirements bump, ignore new and
stricter hacking rules that are being triggered. Fixing up the code and
turning these on is out of scope of this patch and is for future patches.

Change-Id: I8f59083d1c0673b94fa94acb37f11a5dd0ee040d
2014-06-12 07:46:18 -04:00
Doug Hellmann
1dc9e67290 Move py33 env before py2x
When running "tox" without specifying the environment, we want py33 to
run before py2x so testr creates its database using a format available
in both versions of python.

Change-Id: If068685116156f30a7c4fe1f3a88f1a3e1a2fe00
2014-04-01 05:12:50 -07:00
Doug Hellmann
9bc1af398e Fix python 3.3 test configuration
It is no longer necessary to install testrepository from bzr,
so don't. That means we no longer need a separate py33
environment definition, or the special requirements file.

Do not use distribute in the test virtualenvs.

Change-Id: I1c0002d3992e25e7e0927eca85ccd5e4d57ee7d1
2013-07-22 15:19:29 -04:00
Julien Danjou
305ecd8178 Add Python 3 support
These are the final changes needed to have the full py33 tox environment
running and passing all tests.

Change-Id: I3ac149345561a5bb99e017022ba2e2be10154584
2013-07-16 17:41:38 +02:00
Dirk Mueller
d33c1a7b3f Rename tools/(pip|test)-requires to *requirements.txt
This seems to be more standard accross the various
OpenStack modules.

Change-Id: I6de7bb457db891150eab8db3603e4a72c7d75962
2013-06-13 10:20:30 +02:00
Jenkins
fb2798650d Merge "python3: Introduce py33 to tox.ini" 2013-06-03 09:11:30 +00:00
Sergey Lukjanov
e68a01e164 Enable pep8 E125 check (w/o any changes).
Change-Id: Ibda6c7ec990a72c660e043857723049721c60166
2013-06-02 19:52:09 +04:00
Chuck Short
68d89a7ea0 python3: Introduce py33 to tox.ini
Introduce py33 to tox.ini to make testing with
python3 easier.

Change-Id: I3cbd8f65c626cfbb5df647dece25641040872f36
Signed-off-by: Chuck Short <chuck.short@canonical.com>
2013-06-01 20:08:40 -05:00
Monty Taylor
f828f2fc16 Switch to flake8/hacking instead of pep8+pyflakes.
Change-Id: I26a5b2b1923d6301a5ebdb6474d68a489f9fbe72
2013-05-09 19:10:09 -04:00
Monty Taylor
ef46c65837 Upgrade testing to use testr.
Change-Id: Ib0e73c125c908898735e60e5b435468bc2b08316
2013-05-03 17:26:07 -04:00
Zhongyue Luo
5439d6bf29 Adds pylint section in tox.ini in oslo.config to check for unused imports
Fixes bug #1157597

Change-Id: I58057cdde6064dacf6689560ec6439fd6dc7cf4f
2013-03-22 15:38:02 +08:00
Mark McLoughlin
9805067bcf Add sphinx documentation
Add basic sphinx config and copy the theming from oslo-incubator which
was originally copied from keystone.

Change-Id: Ibb3b679ce6e160c157ff63f0943807bd82aa1a67
2013-02-09 17:32:02 -05:00
Mark McLoughlin
8c6a4c7523 Add oslo-config project infrastructure 2013-01-21 09:58:17 +00:00