manila: pylint wrong continued indentation issues

Bug #1356588 reported by Danny Al-Gaaf
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Shared File Systems Service (Manila)
Fix Released
Low
Luis Pabón

Bug Description

pylint reports many bad-continuation issues within the manila codebase.

+-----------------+------------+
|message id |occurrences |
+=================+============+
|bad-continuation |562 |
+-----------------+------------+

For example:

************* Module manila.volume.cinder
C: 38, 0: Wrong continued indentation.
            default='volume:cinder:publicURL',
            ^ | (bad-continuation)

Changed in manila:
assignee: nobody → Danny Al-Gaaf (danny-al-gaaf)
status: New → In Progress
description: updated
Revision history for this message
Valeriy Ponomaryov (vponomaryov) wrote :
Revision history for this message
Danny Al-Gaaf (danny-al-gaaf) wrote :

@vponomaryov: the merge is about a different bug #1356524

Changed in manila:
milestone: none → kilo-1
Changed in manila:
importance: Undecided → Low
Changed in manila:
milestone: kilo-1 → kilo-2
Changed in manila:
milestone: kilo-2 → kilo-3
Changed in manila:
milestone: kilo-3 → kilo-rc1
Revision history for this message
Ben Swartzlander (bswartz) wrote :

Is this bug still valid? I don't know much about pylint...

Changed in manila:
status: In Progress → New
Revision history for this message
Luis Pabón (lpabon) wrote :

I am going to see if I can confirm this bug.

Changed in manila:
assignee: Danny Al-Gaaf (danny-al-gaaf) → Luis Pabon (lpabon)
status: New → In Progress
Revision history for this message
Luis Pabón (lpabon) wrote :

From what I can tell, the program tools/lintstack.py which is executed by tools/lintstack.sh when Jenkins runs, only tests for differences in the output of pylint. Right now, there seems to be 17 errors/warnings that are being carried over from fix to fix, with no difference between fixes, and so no failures in the pylint Jenkins job.

It is really difficult to tell what the errors are, so I added a fix to tools/lintstack.sh which will help developers determine what the errors are, and we can fix them as needed.

The fix will be up soon.

Revision history for this message
Luis Pabón (lpabon) wrote :

Sample output of `tox -e lint`

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to manila (master)

Fix proposed to branch: master
Review: https://review.openstack.org/170553

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to manila (master)

Reviewed: https://review.openstack.org/170553
Committed: https://git.openstack.org/cgit/openstack/manila/commit/?id=72d2840048c6aba344ea9ba08f301ef5dc5226a2
Submitter: Jenkins
Branch: master

commit 72d2840048c6aba344ea9ba08f301ef5dc5226a2
Author: Luis Pabón <email address hidden>
Date: Fri Apr 3 11:21:40 2015 -0400

    Enable developers to see pylint output

    The program tools/lintstack.py which is executed by
    tools/lintstack.sh when Jenkins runs, only tests for differences
    in the output of pylint. Right now, there seems to be
    17 errors/warnings that are being carried over from fix to fix,
    with no difference between fixes, and so no failures in the
    pylint Jenkins job.

    It is really difficult to tell what the errors are, so this fix
    allows developers determine what the errors are by running the
    following command:

    $ tox -e lint

    A sample output of the command is available as an attachment
    to the bug.

    Change-Id: I88487829576d55d437b934e08571013b7a6e57cf
    Signed-off-by: Luis Pabón <email address hidden>
    Closes-Bug: #1356588
    Signed-off-by: Luis Pabón <email address hidden>

Changed in manila:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in manila:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in manila:
milestone: kilo-rc1 → 2015.1.0
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.