Increase max-line-size for flake8 to 100 and fix other flake errors
This commit is contained in:
@@ -3,3 +3,6 @@ universal = 1
|
|||||||
|
|
||||||
[metadata]
|
[metadata]
|
||||||
license_file = LICENSE
|
license_file = LICENSE
|
||||||
|
|
||||||
|
[flake8]
|
||||||
|
max-line-length = 100
|
||||||
|
|||||||
@@ -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):
|
||||||
|
|||||||
Reference in New Issue
Block a user