Commit Graph

13 Commits

Author SHA1 Message Date
jacky06 80ba25ec6a Replace git.openstack.org URLs with opendev.org URLs
Change-Id: Ibf7030d5cef07c29d4e13fddef611715373a4af8
2019-05-29 11:19:30 +08:00
Yuanbin.Chen 9c7a43d85a Fix doc HACKING path error
Change-Id: I5297e96cca35d70d2696fbc7f7d66a0c1fefd3ff
Signed-off-by: Yuanbin.Chen <cybing4@gmail.com>
2018-05-29 11:07:35 +08:00
melissaml 7d810d46c9 Update url in HACKING.rst
Change-Id: I727cd003c5b4295edcbfb5e0b5fbb9afc45f13eb
2018-02-26 01:36:04 +08:00
chenlx f7dbaef773 Optimize the link address
Use https instead of http to ensure the safety.

Change-Id: Ia9feb87c691dbe03bf6e92229f33d2cd6cc0adda
2017-05-03 17:11:10 +08:00
Jeremy Liu cb19dadaa4 Add a hacking check rule
Add hacking check rule "use assertTrue instead of assertEqual"

Change-Id: Ia957b9865a76186719836e9dc590c9fb044980ca
2016-11-24 15:26:04 +08:00
yatinkarel 91341e6f74 Add hacking check to ensure LOG.warn is not used
LOG.warn is replaced with LOG.warning in review:
https://review.openstack.org/#/c/343214/. But use of
LOG.warn should not happen again.
So added hacking check to ensure LOG.warn is not used

Change-Id: Ice650ba14386b136e72d1b91c0411b390ebfd429
Closes-Bug: #1605711
2016-07-23 20:49:49 +05:30
tengqm 9742996102 Add hacking rule for api_version
As an implementation limitation, the 'api_version' decorator must be the
first decorator if applied on a method. This patch adds a pep8 check for
this to be enforced.

partial-bp: api-microversioning
Change-Id: Ib03ad91e492175d23dde8b3a30dae9a077baffb9
2016-03-29 03:59:07 -04:00
tengqm 95f687e6bb Fine tune the HACKING.rst document
This patch proposes some syntax fixes to the HACKING documentation.

Change-Id: Ic8a382c210c4c55e82ed87ea648da0a31099bf23
2016-02-07 04:44:28 -05:00
lawrancejing 49d28d5189 Method's default argument shouldn't be mutable
http://docs.python-guide.org/en/latest/writing/gotchas/

Change-Id: I5e22e66de245da0bac1f35f81460ea9cfdc00772
2016-01-18 13:48:46 +00:00
lawrancejing 568311ef20 Ensure that jsonutils.%(fun)s must be used instead of json.%(fun)s
And add hacking check

Change-Id: I3af04bdb06e64fc2a2d4be423981e8938565c7ab
Partial-Bug: #1530245
2016-01-18 03:49:11 +00:00
lawrancejing 54c1d031aa Use assertIsNone rather than assertEqual(A, None)
And the patch adds hacking check for it

Partial-Bug: #1530245

Change-Id: I96dfbef6adbe61b6c69c70d028fd8a343f1759e5
2015-12-31 03:12:59 +00:00
tengqm 976e8858f6 Added some docs about hacking and testing
This patch added some guides and suggestions about hacking and testing.

Change-Id: I42aa9d5d9f340981f1c1f40d60eae34d8ae24e98
2015-03-25 11:32:09 +08:00
tengqm 3317ed6571 Initial copy of project files from Heat
Initial copy of project files from Heat.
2014-12-10 15:47:34 +08:00