Skip to content
Snippets Groups Projects
  1. Aug 04, 2017
    • Akihiro Motoki's avatar
      Update the documentation link for doc migration · 515ba0ae
      Akihiro Motoki authored
      This commit updates links affected by doc migration.
      Note that other links are not touched in this commit.
      Fixing other broken links or changing http to https
      should be covered by a separate patch.
      
      Also convert http links to docs.openstack.org to https per reviewer
      request (though it is not directly related to doc-migration).
      
      Note that this commit does not touch files under releasenotes/notes/.
      If we touch release notes in older releases, reno will considers
      it as a release note in the current release.
      (Pike release notes are clean up in a separate patch.)
      
      Change-Id: Iba9bd465ef08014a4972584cf4da6e7d77961119
      515ba0ae
  2. Dec 17, 2015
    • Timur Sufiev's avatar
      Eliminate mutable default arguments · 7023050e
      Timur Sufiev authored
      The best practice in Python is not to use mutable object (i.e. list,
      dictionary, or instances of most classes) as value of default
      argument (see https://goo.gl/Kwhg0T). A hacking rule to enforce this 
      practice is added as well.
      
      The patch was inspired by CR https://review.openstack.org/#/c/198465/ 
      and took most of its code from it as well. That's why original 
      copyrights are kept.
      
      Closes-Bug: #1471349
      Change-Id: Ia77b1736dbc3d4e28ff2d2c3424e9cfcaefa5077
      7023050e
  3. Sep 29, 2014
    • Tatiana Ovchinnikova's avatar
      Remove #noqa from django.conf.urls.include · b47f2266
      Tatiana Ovchinnikova authored
      We have one more import with #noqa: django.conf.urls.include that is also
      commonly used in urls.py module and could be included to the list of
      import exceptions. This change has also revealed one unused import.
      
      Change-Id: I47cc582340625aac87ab0242b147e11ef1d9b38e
      b47f2266
  4. Sep 16, 2014
  5. Aug 06, 2014
    • Felipe Reyes's avatar
      Replace force_unicode with force_text · af49cf1f
      Felipe Reyes authored
      Django changed the name to force_unicode and it's only available in
      python2 as an alias of force_text. The new name is available since
      Django 1.4.2
      
      Closes-Bug: #1345642
      Change-Id: Ida8c545ceec7c31999f2497d540a0dc5a653d286
      af49cf1f
  6. Jan 07, 2014
    • Radomir Dopieralski's avatar
      Remove #noqa from most common imports and add them to import_exceptions · 028332da
      Radomir Dopieralski authored
      We have a lot of import with #noqa that is there to ignore h302,
      because it's traditional to import and use a name directly, instead
      of a whole module. This hides other errors and gives people the
      impression that it's actually fine to import non-modules, you just
      have to slap #noqa on those lines.
      
      I went through the code and identified about a dozen names that are
      most commonly imported this way. I remove the #noqa tag from them,
      and added them to the list in import_exceptions.
      
      I also removed a few unused imports that were revealed in the process.
      
      Change-Id: I27afb8e2b1d4759ec974ded9464d8f010312ee78
      028332da
  7. Dec 10, 2013
  8. Nov 11, 2013
    • Joe Gordon's avatar
      Make HACKING.rst formatting sync with other repos · 7ef29b25
      Joe Gordon authored
      Make HACKING.rst have the same format as in other OpenStack repos. When
      working across multiple projects its nicer to have files have the same
      formatting to reduce confusion.
      
      Change-Id: I078f7ba512cfd8ccaf646e37287bcdbb11e54e90
      7ef29b25
  9. Oct 16, 2013
  10. Jun 11, 2013
Loading