<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/openstack/python-cinderclient.git/tools/colorizer.py, branch 8.0.0</title>
<subtitle>opendev.org: openstack/python-cinderclient.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-cinderclient.git/'/>
<entry>
<title>Add flake8-import-order extension</title>
<updated>2021-03-10T20:04:27+00:00</updated>
<author>
<name>Sean McGinnis</name>
<email>sean.mcginnis@gmail.com</email>
</author>
<published>2020-06-02T21:58:53+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-cinderclient.git/commit/?id=82f0ceb724e93ccf22140762c65da88c9c2f4bb4'/>
<id>82f0ceb724e93ccf22140762c65da88c9c2f4bb4</id>
<content type='text'>
This adds the import order extension to match what we have in the cinder
repo. This is a linting extension that will check that imports are in
the correct order and the correct grouping so they automatically get
flagged, and it won't be whether reviewers notice and decide to do
anything or not.

Cinder change was Ic13ba238a4a45c6219f4de131cfe0366219d722f for a little
more wordy reasoning.

Also includes updates for noqa tags. Newer version of the linters appear
to want these on the function definition line, not on the decorator
line.

Change-Id: Ibf3f3afbf3bb6ec6613b35f91d4a353c6a391f41
Signed-off-by: Sean McGinnis &lt;sean.mcginnis@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This adds the import order extension to match what we have in the cinder
repo. This is a linting extension that will check that imports are in
the correct order and the correct grouping so they automatically get
flagged, and it won't be whether reviewers notice and decide to do
anything or not.

Cinder change was Ic13ba238a4a45c6219f4de131cfe0366219d722f for a little
more wordy reasoning.

Also includes updates for noqa tags. Newer version of the linters appear
to want these on the function definition line, not on the decorator
line.

Change-Id: Ibf3f3afbf3bb6ec6613b35f91d4a353c6a391f41
Signed-off-by: Sean McGinnis &lt;sean.mcginnis@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove all usage of six library</title>
<updated>2021-03-04T08:03:35+00:00</updated>
<author>
<name>haixin</name>
<email>haixin@inspur.com</email>
</author>
<published>2020-09-30T02:40:31+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-cinderclient.git/commit/?id=cea1f674ae1ce545c0cac209b423ac9d626f0c68'/>
<id>cea1f674ae1ce545c0cac209b423ac9d626f0c68</id>
<content type='text'>
Replace six with Python 3 style code.

Change-Id: I4b97e040f3e790ac114dcd43c68e6b67b1079adf
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Replace six with Python 3 style code.

Change-Id: I4b97e040f3e790ac114dcd43c68e6b67b1079adf
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix some flake8 violations</title>
<updated>2016-02-09T12:28:30+00:00</updated>
<author>
<name>Chaozhe.Chen</name>
<email>chaozhe.chen@easystack.cn</email>
</author>
<published>2016-02-09T09:00:30+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-cinderclient.git/commit/?id=9e60e4a592011228bbf4ddacf96afbee2ab63ea6'/>
<id>9e60e4a592011228bbf4ddacf96afbee2ab63ea6</id>
<content type='text'>
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
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove vim header</title>
<updated>2014-02-12T16:18:09+00:00</updated>
<author>
<name>Jay S. Bryant</name>
<email>jsbryant@us.ibm.com</email>
</author>
<published>2014-02-12T16:18:09+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-cinderclient.git/commit/?id=803f0f69a616700329b702b01404d41827c60ce8'/>
<id>803f0f69a616700329b702b01404d41827c60ce8</id>
<content type='text'>
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
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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
</pre>
</div>
</content>
</entry>
<entry>
<title>python3: Refactor dict for python2/python3 compat</title>
<updated>2013-10-11T13:04:49+00:00</updated>
<author>
<name>Chuck Short</name>
<email>chuck.short@canonical.com</email>
</author>
<published>2013-10-07T02:39:41+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-cinderclient.git/commit/?id=b0b8afaf55ffdadf5ee329edd92b9cac1be8c2d1'/>
<id>b0b8afaf55ffdadf5ee329edd92b9cac1be8c2d1</id>
<content type='text'>
Python3 changed the behavior of dict.keys such that it is now
returns a dict_keys object, which is iterable but not indexable.
You can get the python2 result back with an explicit call to list.

Refactor list(*.keys()) so that it just uses list().

Change-Id: Ib2e9646ac967e9bd7cc4f47e2099f5d1358808a9
Signed-off-by: Chuck Short &lt;chuck.short@canonical.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Python3 changed the behavior of dict.keys such that it is now
returns a dict_keys object, which is iterable but not indexable.
You can get the python2 result back with an explicit call to list.

Refactor list(*.keys()) so that it just uses list().

Change-Id: Ib2e9646ac967e9bd7cc4f47e2099f5d1358808a9
Signed-off-by: Chuck Short &lt;chuck.short@canonical.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>python3: Fix traceback while running tests</title>
<updated>2013-06-20T01:52:22+00:00</updated>
<author>
<name>Chuck Short</name>
<email>chuck.short@canonical.com</email>
</author>
<published>2013-06-20T01:46:46+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-cinderclient.git/commit/?id=3044671b3647cd9a6b14b6262baa44567c6e995b'/>
<id>3044671b3647cd9a6b14b6262baa44567c6e995b</id>
<content type='text'>
The testsuite is full of the following:

TypeError: 'dict_keys' object does not support indexing

This is due to the fact in python3 dict methods dict.keys(),
dict.items() and dict.values() return “views” instead of lists.

Change-Id: Ifa5383e6485fdbabf363fd1442877b2452346c1c
Signed-off-by: Chuck Short &lt;chuck.short@canonical.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The testsuite is full of the following:

TypeError: 'dict_keys' object does not support indexing

This is due to the fact in python3 dict methods dict.keys(),
dict.items() and dict.values() return “views” instead of lists.

Change-Id: Ifa5383e6485fdbabf363fd1442877b2452346c1c
Signed-off-by: Chuck Short &lt;chuck.short@canonical.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>python3: compatibility for iteritems and iterkeys</title>
<updated>2013-06-11T18:29:13+00:00</updated>
<author>
<name>Chuck Short</name>
<email>chuck.short@canonical.com</email>
</author>
<published>2013-06-11T18:22:56+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-cinderclient.git/commit/?id=d12d7a73ff6a1de482bcdb978e0fb7afd8cfe648'/>
<id>d12d7a73ff6a1de482bcdb978e0fb7afd8cfe648</id>
<content type='text'>
Use six to allow python2/pyton3 for iteritems and
iterkeys.

six.iteriems() replaces dictionary.iteritems() (python2)
and dictionary.iterms() (python3)

six.iterkeys() replaces dictionary.iterkeys (python2)
and dictionary.keys() (python3)

Change-Id: I26c80b78a7dedf3aa32eedf01a83ff6d1e592ba7
Signed-off-by: Chuck Short &lt;chuck.short@canonical.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use six to allow python2/pyton3 for iteritems and
iterkeys.

six.iteriems() replaces dictionary.iteritems() (python2)
and dictionary.iterms() (python3)

six.iterkeys() replaces dictionary.iterkeys (python2)
and dictionary.keys() (python3)

Change-Id: I26c80b78a7dedf3aa32eedf01a83ff6d1e592ba7
Signed-off-by: Chuck Short &lt;chuck.short@canonical.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Update run_tests and bring back colorizer.</title>
<updated>2013-05-31T19:45:13+00:00</updated>
<author>
<name>John Griffith</name>
<email>john.griffith@solidfire.com</email>
</author>
<published>2013-05-31T19:42:17+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-cinderclient.git/commit/?id=2e58e73a0cdfae43ca206abcc1de0743324d8b68'/>
<id>2e58e73a0cdfae43ca206abcc1de0743324d8b68</id>
<content type='text'>
This patch adds output of tests and their results to run_tests.sh.
It also brings back colorizer to the output and updates the test-requirements.

Should align with cinder changes that are in progress
at: https://review.openstack.org/#/c/30291/

Change-Id: I3df6d861f4b4d4355464ceb2d507e69bcf682fbe
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch adds output of tests and their results to run_tests.sh.
It also brings back colorizer to the output and updates the test-requirements.

Should align with cinder changes that are in progress
at: https://review.openstack.org/#/c/30291/

Change-Id: I3df6d861f4b4d4355464ceb2d507e69bcf682fbe
</pre>
</div>
</content>
</entry>
</feed>
