From d0665e512c4ecfe52ba4dbc864cd5c3b3a4f04f1 Mon Sep 17 00:00:00 2001
From: hagrid67 <jdhwatson@gmail.com>
Date: Wed, 10 Apr 2019 18:06:38 +0100
Subject: [PATCH] changed max-line-length to 120 in tox.ini. Also changed a
 line to be 86 chars long in rendertools.py

---
 flatland/utils/rendertools.py | 4 +---
 tox.ini                       | 3 +++
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/flatland/utils/rendertools.py b/flatland/utils/rendertools.py
index dd49fb54..00fde024 100644
--- a/flatland/utils/rendertools.py
+++ b/flatland/utils/rendertools.py
@@ -68,9 +68,7 @@ class RenderTool(object):
             tbTrans = rt.RETrans.get_transitions(oTrans, visit.iDir)
             giTrans = np.where(tbTrans)[0]  # RC list of transitions
             gTransRCAg = rt.gTransRC[giTrans]
-            self.plotTrans(
-                visit.rc, gTransRCAg,
-                depth=str(visit.iDepth), color=color)
+            self.plotTrans(visit.rc, gTransRCAg, depth=str(visit.iDepth), color=color)
 
     def plotAgents(self):
         rt = self.__class__
diff --git a/tox.ini b/tox.ini
index 331109ee..c8e28dd3 100644
--- a/tox.ini
+++ b/tox.ini
@@ -6,6 +6,9 @@ python =
     3.7: py37
     3.6: py36
 
+[flake8]
+max-line-length = 120
+
 [testenv:flake8]
 basepython = python
 deps = flake8
-- 
GitLab