← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1356406] [NEW] bad indentation in glance code

 

Public bug reported:

pylint finds several cases of:

************* Module glance.registry.api.v1.__init__
W: 22, 0: Bad indentation. Found 8 spaces, expected 4 (bad-indentation)
W: 24, 0: Bad indentation. Found 8 spaces, expected 4 (bad-indentation)
W: 27, 0: Bad indentation. Found 8 spaces, expected 4 (bad-indentation)
W: 31, 0: Bad indentation. Found 8 spaces, expected 4 (bad-indentation)
W: 35, 0: Bad indentation. Found 8 spaces, expected 4 (bad-indentation)
W: 39, 0: Bad indentation. Found 8 spaces, expected 4 (bad-indentation)
W: 43, 0: Bad indentation. Found 8 spaces, expected 4 (bad-indentation)
W: 47, 0: Bad indentation. Found 8 spaces, expected 4 (bad-indentation)
W: 52, 0: Bad indentation. Found 8 spaces, expected 4 (bad-indentation)
W: 54, 0: Bad indentation. Found 8 spaces, expected 4 (bad-indentation)
W: 58, 0: Bad indentation. Found 8 spaces, expected 4 (bad-indentation)
W: 62, 0: Bad indentation. Found 8 spaces, expected 4 (bad-indentation)
W: 66, 0: Bad indentation. Found 8 spaces, expected 4 (bad-indentation)
W: 70, 0: Bad indentation. Found 8 spaces, expected 4 (bad-indentation)
W: 74, 0: Bad indentation. Found 8 spaces, expected 4 (bad-indentation)
W: 78, 0: Bad indentation. Found 8 spaces, expected 4 (bad-indentation)
************* Module glance.registry.api.v2.__init__
W: 21, 0: Bad indentation. Found 8 spaces, expected 4 (bad-indentation)
W: 22, 0: Bad indentation. Found 8 spaces, expected 4 (bad-indentation)
************* Module glance.domain.__init__
W:354, 0: Bad indentation. Found 12 spaces, expected 8 (bad-indentation)
W:361, 0: Bad indentation. Found 12 spaces, expected 8 (bad-indentation)
W:362, 0: Bad indentation. Found 16 spaces, expected 12 (bad-indentation)
W:363, 0: Bad indentation. Found 12 spaces, expected 8 (bad-indentation)
W:364, 0: Bad indentation. Found 16 spaces, expected 12 (bad-indentation)

** Affects: glance
     Importance: Undecided
     Assignee: Danny Al-Gaaf (danny-al-gaaf)
         Status: In Progress

** Changed in: glance
     Assignee: (unassigned) => Danny Al-Gaaf (danny-al-gaaf)

** Changed in: glance
       Status: New => In Progress

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1356406

Title:
  bad indentation in glance code

Status in OpenStack Image Registry and Delivery Service (Glance):
  In Progress

Bug description:
  pylint finds several cases of:

  ************* Module glance.registry.api.v1.__init__
  W: 22, 0: Bad indentation. Found 8 spaces, expected 4 (bad-indentation)
  W: 24, 0: Bad indentation. Found 8 spaces, expected 4 (bad-indentation)
  W: 27, 0: Bad indentation. Found 8 spaces, expected 4 (bad-indentation)
  W: 31, 0: Bad indentation. Found 8 spaces, expected 4 (bad-indentation)
  W: 35, 0: Bad indentation. Found 8 spaces, expected 4 (bad-indentation)
  W: 39, 0: Bad indentation. Found 8 spaces, expected 4 (bad-indentation)
  W: 43, 0: Bad indentation. Found 8 spaces, expected 4 (bad-indentation)
  W: 47, 0: Bad indentation. Found 8 spaces, expected 4 (bad-indentation)
  W: 52, 0: Bad indentation. Found 8 spaces, expected 4 (bad-indentation)
  W: 54, 0: Bad indentation. Found 8 spaces, expected 4 (bad-indentation)
  W: 58, 0: Bad indentation. Found 8 spaces, expected 4 (bad-indentation)
  W: 62, 0: Bad indentation. Found 8 spaces, expected 4 (bad-indentation)
  W: 66, 0: Bad indentation. Found 8 spaces, expected 4 (bad-indentation)
  W: 70, 0: Bad indentation. Found 8 spaces, expected 4 (bad-indentation)
  W: 74, 0: Bad indentation. Found 8 spaces, expected 4 (bad-indentation)
  W: 78, 0: Bad indentation. Found 8 spaces, expected 4 (bad-indentation)
  ************* Module glance.registry.api.v2.__init__
  W: 21, 0: Bad indentation. Found 8 spaces, expected 4 (bad-indentation)
  W: 22, 0: Bad indentation. Found 8 spaces, expected 4 (bad-indentation)
  ************* Module glance.domain.__init__
  W:354, 0: Bad indentation. Found 12 spaces, expected 8 (bad-indentation)
  W:361, 0: Bad indentation. Found 12 spaces, expected 8 (bad-indentation)
  W:362, 0: Bad indentation. Found 16 spaces, expected 12 (bad-indentation)
  W:363, 0: Bad indentation. Found 12 spaces, expected 8 (bad-indentation)
  W:364, 0: Bad indentation. Found 16 spaces, expected 12 (bad-indentation)

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1356406/+subscriptions


Follow ups

References