Project

General

Profile

Actions

Bug #17898

closed

tests: flake8 3.1.1 behavior changed

Added by Loïc Dachary over 7 years ago. Updated about 7 years ago.

Status:
Resolved
Priority:
Urgent
Assignee:
Category:
-
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
jewel
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

flake8 3.1.1 published a few hours ago does not behave the same and fails with:

flake8 runtests: commands[0] | flake8 --ignore=H105,H405,E127 ceph_disk tests
ceph_disk/main.py:173:1: E305 expected 2 blank lines after class or function definition, found 1
ceph_disk/main.py:5011:1: E305 expected 2 blank lines after class or function definition, found 1

on jewel and probably on master as well.


Related issues 2 (0 open2 closed)

Related to Ceph - Bug #17900: make check: run-tox-ceph-disk failureDuplicate11/14/2016

Actions
Copied to Ceph - Backport #17903: jewel: tests: flake8 3.1.1 behavior changedResolvedLoïc DacharyActions
Actions #1

Updated by Loïc Dachary over 7 years ago

  • Backport set to jewel,hammer
Actions #2

Updated by Ken Dreyer over 7 years ago

another approach, adding the whitespace in https://github.com/ceph/ceph/pull/11973

Actions #3

Updated by Loïc Dachary over 7 years ago

  • Status changed from 12 to Pending Backport
  • Backport changed from jewel,hammer to jewel
Actions #4

Updated by Loïc Dachary over 7 years ago

  • Copied to Backport #17903: jewel: tests: flake8 3.1.1 behavior changed added
Actions #5

Updated by Ken Dreyer over 7 years ago

Discussed with Loic in IRC. We can revert the flake8 version pinning here, and re-address if further flake8 errors are found (with a couple other options).

Actions #6

Updated by Nathan Cutler over 7 years ago

  • Has duplicate Bug #17900: make check: run-tox-ceph-disk failure added
Actions #7

Updated by Nathan Cutler over 7 years ago

  • Has duplicate deleted (Bug #17900: make check: run-tox-ceph-disk failure)
Actions #8

Updated by Nathan Cutler over 7 years ago

  • Related to Bug #17900: make check: run-tox-ceph-disk failure added
Actions #9

Updated by Sage Weil over 7 years ago

  • Priority changed from Immediate to Urgent
Actions #10

Updated by Nathan Cutler about 7 years ago

  • Status changed from Pending Backport to Resolved
Actions

Also available in: Atom PDF