Commit Graph

9 Commits

Author SHA1 Message Date
Stephen Finucane f00e14f400 hacking: Remove references to encoding
This is no longer an issue in our new Python 3-only world.

Change-Id: I25c31a0b7f76a253499d9713ba48fd7ba7168450
Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
2021-04-01 14:16:22 +00:00
Stephen Finucane 0a7f2692c6 Remove references to Python 2.7
We don't support it anymore. This is just noise now.

Change-Id: I3640e7d8e520db69f83f95e9c7759279f7c15008
Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
2020-11-05 14:15:37 +00:00
lihaijing d15bbada73 Replace six.iteritems() with .items()
1. As mentioned in [1], we should avoid using six.iteritems to achieve
   iterators. We can use dict.items instead, as it will return iterators
   in PY3 as well. And dict.items/keys will more readable.

2. In py2, the performance about list should be negligible,
   see the link [2].

[1] https://wiki.openstack.org/wiki/Python3
[2] http://lists.openstack.org/pipermail/openstack-dev/2015-June/066391.html

Co-Authored-By: Akihiro Motoki <amotoki@gmail.com>
Change-Id: I4b9edb326444264c0f6c4ad281acaac356a07e85
Implements: blueprint replace-iteritems-with-items
2020-01-09 18:41:29 +09:00
Hangdong Zhang 37998ad1c2 Update the documentation link for doc migration
Change-Id: I7833e40d66abe233af5a211bcefadc141fe8e54b
2017-07-24 11:33:07 +08:00
Eric Brown bc4e6c2bf0 Remove non-existing hacking deviations from doc
Commit Id38a1497019c7fe2d4ad8567f1c0c8d229951751 removed all of
the hacking rules from the ignore list.  However, the hacking doc
still refers to those previouly ignored rules.

Change-Id: I370be096d83cd5121d24bb96d8d5dc08a1c3c216
2015-08-09 13:22:48 -07:00
Jerry George 521b2cc5dc Minor Documentation changes for code samples
Change-Id: I2d13fe2884d9eaebd112d342041e2e219bf6a240
2015-07-30 14:41:41 -04:00
Dean Troyer f3dbab4a6c Fix PEP8 E302 errors
Also add remaining skipped checks to HACKING

Change-Id: I0c4333ce29597e0a8a233af17c15bed2b4d0711f
2014-07-22 17:51:15 -06:00
Joe Gordon c946192e37 Update URL for global hacking doc and fix typos
* related to I579e7c889f3addc2cd40bce0c584bbc70bf435e2

Change-Id: I519155d0a47564ce18a9cd930378a3c4feaa7a77
2013-11-11 11:09:55 -08:00
Dean Troyer 6f9dcc13f6 Prep for 0.2 release (0.2.rc1)
* rename HACKING to HACKING.rst and refer to the common OpenStack HACKING file
* add the barest of pointers to the wiki, etc. to the source docs
* add a bare-bones man page

Change-Id: I80e5b972af645f14ef17ae87f182ab09cb08dabe
2013-08-01 16:21:22 -05:00