From 51294f6cbc1e87d15379cf880130b916637f0c94 Mon Sep 17 00:00:00 2001 From: DarkPhoenix Date: Mon, 13 May 2019 06:46:25 +0300 Subject: [PATCH] Change the way graphs are imported --- gui/builtinGraphs/__init__.py | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/gui/builtinGraphs/__init__.py b/gui/builtinGraphs/__init__.py index 0343efb99..ee4e01011 100644 --- a/gui/builtinGraphs/__init__.py +++ b/gui/builtinGraphs/__init__.py @@ -1,12 +1,13 @@ -__all__ = [ - 'fitDpsRange', - 'fitDpsTime', - 'fitDmgTime', - 'fitShieldRegenAmount', - 'fitShieldAmountTime', - 'fitCapRegenAmount', - 'fitCapAmountTime', - 'fitSpeedTime', - 'fitDistanceTime', - 'fitWarpTimeDistance' -] +# noinspection PyUnresolvedReferences +from gui.builtinGraphs import ( # noqa: E402,F401 + fitDpsRange, + fitDpsTime, + fitDmgTime, + fitShieldRegenAmount, + fitShieldAmountTime, + fitCapRegenAmount, + fitCapAmountTime, + fitSpeedTime, + fitDistanceTime, + fitWarpTimeDistance +)