From e1ee6d5135a1a8c941fed4cf5020e82527d424b8 Mon Sep 17 00:00:00 2001 From: Guilhem Saurel <guilhem.saurel@laas.fr> Date: Sat, 14 Nov 2020 02:45:54 +0100 Subject: [PATCH] [Python] format --- src/dynamic_graph/__init__.py | 3 --- src/dynamic_graph/entity.py | 4 ++-- src/dynamic_graph/signal_base.py | 6 ++++-- 3 files changed, 6 insertions(+), 7 deletions(-) diff --git a/src/dynamic_graph/__init__.py b/src/dynamic_graph/__init__.py index c9a0924..7af1cfa 100644 --- a/src/dynamic_graph/__init__.py +++ b/src/dynamic_graph/__init__.py @@ -5,9 +5,6 @@ Author: Florent Lamiraux from __future__ import print_function -import sys - from . import entity # noqa from . import signal_base # noqa - from .wrap import * # noqa diff --git a/src/dynamic_graph/entity.py b/src/dynamic_graph/entity.py index 6374dc4..9762042 100644 --- a/src/dynamic_graph/entity.py +++ b/src/dynamic_graph/entity.py @@ -5,5 +5,5 @@ from __future__ import print_function # for backward compat -from .wrap import LoggerVerbosity as VerbosityLevel -from .wrap import Entity +from .wrap import LoggerVerbosity as VerbosityLevel # noqa +from .wrap import Entity # noqa diff --git a/src/dynamic_graph/signal_base.py b/src/dynamic_graph/signal_base.py index ba40575..cfc065c 100644 --- a/src/dynamic_graph/signal_base.py +++ b/src/dynamic_graph/signal_base.py @@ -4,12 +4,14 @@ from __future__ import print_function -from .wrap import SignalBase, create_signal_wrapper as SignalWrapper - # I kept what follows for backward compatibility but I think it should be # removed import re +from .wrap import SignalBase # noqa +from .wrap import create_signal_wrapper as SignalWrapper # noqa + + def stringToTuple(vector): """ Transform a string of format '[n](x_1,x_2,...,x_n)' into a tuple of numbers. -- GitLab