Increase max-line-size for flake8 to 100 and fix other flake errors

This commit is contained in:
Bruno Oliveira
2017-08-09 08:54:23 -03:00
parent c31ec8b222
commit 0987356f64
2 changed files with 6 additions and 1 deletions

View File

@@ -3,3 +3,6 @@ universal = 1
[metadata] [metadata]
license_file = LICENSE license_file = LICENSE
[flake8]
max-line-length = 100

View File

@@ -10,6 +10,7 @@ import sys
import os import os
import pytest import pytest
class SlaveInteractor: class SlaveInteractor:
def __init__(self, config, channel): def __init__(self, config, channel):
self.config = config self.config = config
@@ -97,7 +98,8 @@ class SlaveInteractor:
self.sendevent("collectreport", data=data) self.sendevent("collectreport", data=data)
def pytest_logwarning(self, message, code, nodeid, fslocation): def pytest_logwarning(self, message, code, nodeid, fslocation):
self.sendevent("logwarning", message=message, code=code, nodeid=nodeid, fslocation=fslocation) self.sendevent("logwarning", message=message, code=code, nodeid=nodeid,
fslocation=fslocation)
def serialize_report(rep): def serialize_report(rep):