Skip to content
Snippets Groups Projects
  1. May 15, 2019
  2. Mar 06, 2019
  3. Jan 12, 2019
    • Akihiro Motoki's avatar
      Enable pylint in horizon · 220b1346
      Akihiro Motoki authored
      tests.py files are excluded from targets checked by pylint
      because it takes longer and longer time to check them somehow.
      
      pylint 2.2.x is supported only in Python 3 and we already switched
      our pep8 basepython to python3, so pylint and astroid are installed
      only for python3. This seems the easiest way to ensure py27 env works.
      
      literal-comparison error in openstack_dashboard/api/nova.py
      is also fixed in this commit as it is simple enough.
      
      Change-Id: Ic8868a44b296dba457be721716ca6f9d37ad9369
      220b1346
  4. Nov 10, 2018
    • Akihiro Motoki's avatar
      Bump hacking to 1.1.0 · cebe212d
      Akihiro Motoki authored
      Fix the following new errors:
      * E305 expected 2 blank lines after class or function definition, found 1
      * E126 continuation line over-indented for hanging indent
      
      max_line_length is set to 80 as the default value in pycodestyle is 79
      but horizon uses 80 as max_line_length.
      
      Ignore W504 and F405 by configurations.
      Reasons of disabling them are explained as comments in tox.ini.
      
      Change-Id: Iee8bcd60c30883fc8c74f08cf20af853cbb5e271
      cebe212d
  5. Aug 25, 2018
    • Akihiro Motoki's avatar
      Move requests to requirements.txt · de3e4847
      Akihiro Motoki authored
      requests is used in non-test code in horizon
      (openstack_dashboard/exceptions.py).
      It should be declared in requirements.txt.
      
      Closes-Bug: #1789040
      Change-Id: I325b5344d45f797d256bb213093082927068a88e
      de3e4847
  6. Jun 22, 2018
    • Ivan Kolodyazhny's avatar
      Add Bandit non-voting job · fe4a1f40
      Ivan Kolodyazhny authored
      This commit adds two new tox environments for bandit scanner. To run any
      of them you can use tox commands:
      
      1) 'tox -e bandit' to run bandit scanner against all the code
      2) 'tox -e bandit-baseline' to run bandit scanner only against the last
      commit or the current changes.
      
      Bandit job uses 'bandit-baseline' tox environment to veryfy that no new
      issues were introduced.
      
      Change-Id: I1fc3bb0d5d151f215b9efc916f921fabaa72e7d8
      fe4a1f40
  7. Jun 08, 2018
    • Ivan Kolodyazhny's avatar
      Use default Django test runner instead of nose · 1f80d944
      Ivan Kolodyazhny authored
      Nose has been in maintenance mode for the past several years. It has
      issue with exit code [1] which leads to false positive results for our
      seleniun-headless job.
      
      This patch changes test runner for Horizon tests and does the following
      things:
      
      * Django test runner  executes test in a different order than Nose does.
        That's why we've got an issue with side-effect in
        horizon.tests.unit.tables.test_tables.MyToggleAction class. This patch
        adds workaround to it.
      * Rename filename of test files to names starting with 'test_'
        so that the django test runner can find tests expectedly.
      * '--with-html-output' option is temporary dropped and will be added in
        a following patch.
      * Integraion tests is marked via django.test.tag mechanism which is
        introduced in Django 1.10
      * 'selenium-headless' is broken now because we don't have geckodriver on
        gates, this patch makes it non-voting.
      * 'tox -e cover' is fixed
      * Remove @memorized decorator from
        dashboards.project.images.images.tables.filter_tenant_ids function.
      
      [1] https://github.com/nose-devs/nose/issues/984
      
      Depends-On: https://review.openstack.org/572095
      Depends-On: https://review.openstack.org/572124
      Depends-On: https://review.openstack.org/572390
      Depends-On: https://review.openstack.org/572391
      
      Related blueprint: improve-horizon-testing
      Change-Id: I7fb2fd7dd40f301ea822154b9809a9a07610c507
      1f80d944
  8. Mar 25, 2018
  9. Mar 24, 2018
  10. Mar 15, 2018
  11. Mar 14, 2018
  12. Mar 10, 2018
  13. Mar 08, 2018
    • Monty Taylor's avatar
      Update upper-constraints consumption · 835a4bb7
      Monty Taylor authored
      In order to deal with horizon going into the upper-constraints file so
      that horizon plugins can consume it normally, we need to align the
      constraints invocation in horizon's tox.ini. This means putting the -C
      argument into the dependencies list rather than the pip install line so
      that it doesn't get appended to tox installing horizon itself.
      
      While we're in here, move nosehtmloutput into test-requirements so that
      we don't need to do .[test] which also doesn't work with constraints.
      
      Needed-By: https://review.openstack.org/550475
      Change-Id: I736f79010c2d34e25d41d967a38128c2263ed13f
  14. Jan 24, 2018
  15. Jan 17, 2018
  16. Nov 16, 2017
  17. Sep 27, 2017
    • Rob Cresswell's avatar
      Add Django OpenStack Auth to Horizon · e3e5812b
      Rob Cresswell authored
      Moves Django OpenStack Auth content to Horizon, since they are so
      tightly coupled. This cleans up the development workflow and should
      make keystone / auth related contributions easier.
      
      Implements: blueprint merge-openstack-auth
      Change-Id: Ia1cdc47bad1ca6e633073a9f9445b0c7f70d05bc
      e3e5812b
  18. Sep 16, 2017
  19. Sep 13, 2017
  20. Sep 11, 2017
  21. Aug 21, 2017
  22. Aug 18, 2017
  23. Jul 27, 2017
  24. Jul 19, 2017
    • Akihiro Motoki's avatar
      Use doc8 check · 497cae2b
      Akihiro Motoki authored
      doc8 is a linter for documents and used in openstack-manuals.
      It is better to enforce document linters for simple checking.
      
      The current rules are really simple like:
      - line length check (80 chars)
      - new line at the end of file
      
      Change-Id: I3810df521068ffc97e25a5fc56b72397bf9783bc
      497cae2b
  25. Jul 03, 2017
    • Akihiro Motoki's avatar
      Use flake8-import-order plugin · e6b78f92
      Akihiro Motoki authored
      In reviews we usually check import grouping but it is boring.
      By using flake8-import-order plugin, we can avoid this.
      This flake8 plugin is already used in tempest.
      It enforces loose checking so it sounds good to use.
      
      Note that flake8-import-order version is pinned to avoid unexpected
      breakage of pep8 job.
      
      Change-Id: I8ccd05eb70350a2441cc2a4d1eafc09ee690b83b
      e6b78f92
  26. Jun 27, 2017
  27. Jun 24, 2017
  28. Jun 10, 2017
  29. Jun 08, 2017
    • Rob Cresswell's avatar
      Update the quickstart guide · 6eb83942
      Rob Cresswell authored
      This patch is the first in a series improving Horizons documentation. It
      aims to make the initial quick start section clearer, updates the
      information to remove some redundant information, and updates the
      appearance to match the rest of the openstack docs.
      
      Change-Id: I942e62b6c2c272dc2b5c91bca42c77677bb4e09d
      Implements: blueprint pike-docs-overhaul
      6eb83942
  30. Jun 02, 2017
  31. May 17, 2017
  32. May 15, 2017
  33. Feb 14, 2017
    • xurong00037997's avatar
      Update hacking version · be0b003f
      xurong00037997 authored
      hacking version is managed in test-requirements.txt and the latest
      version is 0.13.0 now.
      
      However 0.13.0 is in very sorry shape as the Change-Id of hacking
      I714caa085fa35cb4aac3b65c73a7de6d4807d04d .
      
      So this patch updates our test-requirements.txt to avoid using
      0.13.0.
      
      Change-Id: I2fe6436d2cab2a1acbda9a93d3a9e11a41574c78
      be0b003f
  34. Feb 11, 2017
  35. Feb 10, 2017
  36. Jan 20, 2017
  37. Dec 03, 2016
  38. Dec 02, 2016
  39. Nov 02, 2016
Loading