diff --git a/flatland/utils/rendertools.py b/flatland/utils/rendertools.py index dd49fb54f6cef27748f8936972bbbd7a8136d004..00fde0246ed937dcf97f44dd63067060b7c54350 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 331109ee7f80c869fb9640c9f4f17e26a11c2add..c8e28dd38c145803acfa4a5272ac7f7da9fbbf89 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