11 Commits

Author SHA1 Message Date
JordanP
94d1e0f847 Move to hacking 0.10
Release notes:
http://git.openstack.org/cgit/openstack-dev/hacking/tag/?id=0.10.0

Change-Id: Iaed2de813fb181ab9f67dda50a4c19d1b9a7dc31
2015-02-26 09:58:10 +01:00
Radoslaw Smigielski
36e293b5d5 Fixing PEP8 E712 and E265
1. PEP8 E712, removed singleton comparison using '==' operator:
   E712 comparison to True should be 'if cond is True:'or 'if cond:'
   Two places.
2. Fix PEP8 E265 block comment syntax.
   E265 block comment should start with '# '
3. No more E712 so removed it from tox.ini ignored list.

Change-Id: I778aa5c4e1458cccb7a34d087b3b59eceadd45d0
2015-02-06 15:39:45 +01:00
Zhi Yan Liu
7d24312c4f Use testr directly from tox
Change-Id: I0da3538ff11639982ebc082a1834968e3d6a71d3
Signed-off-by: Zhi Yan Liu <zhiyanl@cn.ibm.com>
2014-12-24 15:57:29 +08:00
Oleksii Chuprykov
f8d493bceb Enable F841 check
Change-Id: I57f085fc265078c5d04c0636b6ecf9bdd524b900
2014-09-23 17:26:59 +03:00
Oleksii Chuprykov
71ae81d69c Fix H402
Fix `one line docstring needs punctuation.`
Remove H402 from ignore list.

Change-Id: I0cd3b88467067cdb10d41f86cc94e075da141ac0
2014-09-20 21:13:41 +03:00
Zhi Yan Liu
578299499c Portback part change of enabling F821 check
Enable F821 and fix usage of undefined variables.

Change-Id: I0d5104060410986df4b83a3e9e865365004d0313
Signed-off-by: Zhi Yan Liu <zhiyanl@cn.ibm.com>
2014-09-19 11:19:46 +00:00
Oleksii Chuprykov
03d79fe88a Run tests parallel by default
Remove `--concurrency 1` option from tox.ini which would entail
a parallel test execution.
Add @mock decorator to test methods that have mock objects to make
cleanup correct.
Add store.configure() to configure store properly.

Change-Id: I4b58746f6b6ad037fabb29be5ca1d1febcb0cf95
2014-09-17 12:09:52 +03:00
Jeremy Stanley
bbeaae17d5 Work toward Python 3.4 support and testing
Change-Id: Ie684799808ff42ef6a83810cfeefae9c7b5b2d25
2014-09-03 19:03:40 +00:00
Flavio Percoco
a1c59a1575 Rename glance.store to glance_store
Given the existing, known issues, with python namespaces, pip and
setuptools, we've decided to rename glance.store into glance_store.

Change-Id: I3f02ce78b3d64f34744e5116652bfbb4f3062cbf
2014-08-28 10:09:36 +02:00
Flavio Percoco
df6d73d59c Added testr 2014-02-10 10:55:11 +01:00
Flavio Percoco
a4dafcd6a1 Add requirements and testr 2014-01-30 10:57:14 +01:00