13 Commits

Author SHA1 Message Date
Sean McGinnis
ced267b1d5
Raise hacking version to 2.0.0
We've kept hacking capped for a long time now. This raises the hacking
package version to the latest release and fixes the issues that it
found.

Change-Id: I69e41a340c815090f25677607e971a8e75791f6d
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2019-12-21 03:27:48 -06:00
Van Hung Pham
581ed1b39f Fix to use "." to source script files
Adhering to coding conventions. Refer to ``Code conventions`` at
https://docs.openstack.org/contributor-guide/ for details.

Change-Id: I65e0eea36f3cb3d8d33a059e1538bf0579ca7cdd
2017-11-22 13:18:11 +07:00
yuyafei
00e942ed61 Remove white space between print and ()
TrivialFix

Change-Id: I7cc4dc71459c9cfb2f45d9b3cb551fc3d6549ddb
2016-09-13 12:53:55 +00:00
bhagyashris
42d2a33fb4 Fix python 2,3 compatibility issue with six
ConfigParser is available in python2 but not in python3.
ref:http://www.diveintopython3.net/porting-code-to-python-3-with-2to3.html

Change-Id: Icf47e18c31a6fabf3584aead054ebd4c669a2574
2016-06-21 20:14:26 +05:30
Chaozhe.Chen
9e60e4a592 Fix some flake8 violations
1. Wrong use of 'noqa'. "# flake8: noqa" option disables all checks
for the whole file.
2. Remove exclusion of 'tools' and '*openstack/common*' in flake8 and
fix the violations.

Change-Id: I153e992ffd6a80e70a99d7066c503c34326c93ab
Closes-bug: #1540254
2016-02-09 20:28:30 +08:00
Jay S. Bryant
803f0f69a6 Remove vim header
Making this change for python-cinderclient to be consistent
with Cinder.  The same change was made to Cinder via
commit ff3f2e5735f0d486b72b6881b05ace94d6d34d03 .

Partial-bug 1229324
Change-Id: I69fb960f499f0c9a9c9671d46d10170477cf6695
2014-02-12 10:18:09 -06:00
Jay S. Bryant
165ba7bc5b Remove call to undefined install.post_process()
Oslo commit b5cca99e5281d9c0c5eda444137e418b31209c45 removed
the obsolete redhat-eventlet.patch.  Part of this commit
removed the post_process() method which we were still calling
in tools/install_venv.py .  The post_process function was just
there to do any distro-specific post processing.  By default,
that was nothing.  So, this is safe to remove.

This same change was made to python-novaclient with
commit 0194492059920fd8d9d91849c341b2de0b561089 .

Closes-bug: 1275025
Change-Id: I4c52e2c0d3d6553f5d33e94cd6e8622160febc37
2014-02-12 09:07:07 -06:00
Monty Taylor
a26044f6d7 Sync install_venv_common from oslo
Change-Id: I1649a8e777baf288b3aa4c2c29e2fe532dfe93be
2013-07-05 23:22:30 -04:00
Chuck Short
4b1cdab2fe python3: Basic python3 compatibility.
Basic python3 compatibilty.

Change-Id: I4388f5956cf397f8e33d20085aae6c6a728dbbda
Signed-off-by: Chuck Short <chuck.short@canonical.com>
2013-06-12 07:59:44 -05:00
Monty Taylor
c82a811301 Rename requires files to standard names.
Fixes bug 1179008.

Change-Id: I6765bb82df1ae672790662a30ee3527450685036
2013-05-20 14:32:32 -04:00
Vincent Hou
f885e8bade Add the test environment for the virtualenv.
Resolve Bug1037422.

Change-Id: Ib36ff6eff6e84af25a8d799173524ced9e6d5d06
2012-08-22 16:21:29 +08:00
John Griffith
93f9fa75fa Set pep8 version to 1.1 in test_requires
* Fixes bug 1007520
* Changes in pep8 cause new failures

Change-Id: Ie678f01a5008b0df6ef43a360b599890cab40776
2012-06-15 13:56:39 -06:00
Jenkins
471704df64 Initial split from python-novaclient. 2012-05-21 16:32:35 -04:00