From 0987356f642e25b91dd3e48e84b459b0f13add31 Mon Sep 17 00:00:00 2001 From: Bruno Oliveira Date: Wed, 9 Aug 2017 08:54:23 -0300 Subject: [PATCH] Increase max-line-size for flake8 to 100 and fix other flake errors --- setup.cfg | 3 +++ xdist/remote.py | 4 +++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/setup.cfg b/setup.cfg index ed8a958..36f3f4d 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,3 +3,6 @@ universal = 1 [metadata] license_file = LICENSE + +[flake8] +max-line-length = 100 diff --git a/xdist/remote.py b/xdist/remote.py index 0f008f2..f976060 100644 --- a/xdist/remote.py +++ b/xdist/remote.py @@ -10,6 +10,7 @@ import sys import os import pytest + class SlaveInteractor: def __init__(self, config, channel): self.config = config @@ -97,7 +98,8 @@ class SlaveInteractor: self.sendevent("collectreport", data=data) 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):