StarlingX High Availability/Process Monitoring/Service Management
Go to file
Sun Austin da53f143ee Fix flake8 errors and disable ignore case
below issures are removed from ignore cases:
    E114 indentation is not a multiple of four (comment)
    E116 unexpected indentation (comment)
    E121 continuation line under-indented for hanging indent
    E122 continuation line missing indentation or outdented
    E123 closing bracket does not match indentation of opening bracket's line
    E124 closing bracket does not match visual indentation
    E125 continuation line with same indent as next logical line
    E126 continuation line over-indented for hanging indent
    E127 continuation line over-indented for visual indent
    E128 continuation line under-indented for visual indent
    E129 visually indented line with same indent as next logical line
    E131 continuation line unaligned for hanging indent
    E201 whitespace after '('
    E228 missing whitespace around modulo operator
    E231 missing whitespace after ','
    E241 multiple spaces after ':'
    E251 unexpected spaces around keyword / parameter equals
    E265 block comment should start with '#'
    E271 multiple spaces after keyword
    E302 expected 2 blank lines, found 1
    E303 too many blank lines
    E305 expected 2 blank lines after class or function definition, found 1
    E704 multiple statements on one line (def)
    E713 test for membership should be 'not in'
    E714 test for object identity should be 'is not'
    E722 do not use bare except'
    E731 do not assign a lambda expression, use a def
    E999 SyntaxError: invalid syntax (this is likely python3)
    F401 <foo> imported but unused
    F841 local variable 'foo' is assigned to but never used
    H201: no 'except:'
    H233: Python 3.x incompatible use of print operator
    B001 Do not use bare `except:`
    B004 Using `hasattr(x, '__call__')` to test
         if `x` is callable is unreliable.
    B305 `.next()` is not a thing on Python 3. Use the `next()` builtin.
    B306 `BaseException.message` has been deprecated as of Python 2.6
          and is removed in Python 3.
    B007 Loop control variable 'key' not used within the loop body.
remain below issues in ignores:
    E402 module level import not at top of file
    ./service-mgmt-api/sm-api/sm_api/cmd/__init__.py:25

    Hxxx since which are related with document format

    F811 redefinition of unused '<foo>' from line <x>
    ./service-mgmt-tools/sm-tools/sm_tools/sm_configure.py:18

    F821 undefined name 'e'
    ./service-mgmt-api/sm-api/sm_api/common/utils.py:448

    B006 Do not use mutable data structures for argument defaults.
    ./service-mgmt-api/sm-api/sm_api/common/service.py:59

    B008 Do not perform calls in argument defaults.
    ./service-mgmt-api/sm-api/sm_api/openstack/common/timeutils.py:117

Test have been done:Build,Deploy,some smc command,such as smc service-list,
smc service-show, sm-dump, etc

Story: 2003430
Task: 26524

Change-Id: I3e2a4a31f87e3ff66cfce86f54285e830ee1c3dc
Signed-off-by: Sun Austin <austin.sun@intel.com>
2018-11-07 08:12:37 +08:00
api-ref/source [Doc] openstackdocstheme starlingxdocs theme 2018-10-22 14:36:04 +00:00
doc [Doc] openstackdocstheme starlingxdocs theme 2018-10-22 14:36:04 +00:00
releasenotes [Doc] openstackdocstheme starlingxdocs theme 2018-10-22 14:36:04 +00:00
service-mgmt Fix flake8 errors and disable ignore case 2018-11-07 08:12:37 +08:00
service-mgmt-api Fix flake8 errors and disable ignore case 2018-11-07 08:12:37 +08:00
service-mgmt-client Fix flake8 errors and disable ignore case 2018-11-07 08:12:37 +08:00
service-mgmt-tools Fix flake8 errors and disable ignore case 2018-11-07 08:12:37 +08:00
.gitignore [Doc] OpenStack API Reference Guide 2018-09-27 10:14:44 -07:00
.gitreview Add .gitreview 2018-05-31 07:36:26 -07:00
.zuul.yaml Add api-ref and relnotes publish jobs 2018-10-11 08:16:45 -05:00
CONTRIBUTORS.wrs StarlingX open source release updates 2018-05-31 07:36:26 -07:00
LICENSE StarlingX open source release updates 2018-05-31 07:36:26 -07:00
README.rst fixing typo 2018-06-27 14:32:15 -05:00
centos_iso_image.inc Split image.inc across git repos 2018-08-15 16:45:18 -04:00
centos_pkg_dirs Split centos-pkg-dirs along git boundaries. 2018-06-20 16:26:24 -04:00
centos_wheels.inc Add hooks for python wheel generation 2018-10-24 17:13:06 +00:00
pylint.rc Adding pylint target to stx-ha 2018-10-04 09:20:06 -05:00
test-requirements.txt Add default test framework 2018-06-09 08:56:58 -05:00
tox.ini Fix flake8 errors and disable ignore case 2018-11-07 08:12:37 +08:00

README.rst

stx-ha

StarlingX Service Management