Skip to content

Commit

Permalink
Importing two items from astro_util in one call was giving cyclic err…
Browse files Browse the repository at this point in the history
…ors between

black (which added a line between the imports and the docstring below) and
docformatter (which kept removing the line mentioned above). By calling two
separate instances of import slsim.astro_util... I was able to clear the
cyclic error.
  • Loading branch information
Henry-Best-01 committed Feb 28, 2024
1 parent c33a3af commit 434fbe0
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions slsim/Sources/SourceVariability/variability.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,9 @@
LightCurveInterpolation,
)
from slsim.Sources.SourceVariability.sinusoidal_variability import SinusoidalVariability
from slsim.Util.astro_util import (
generate_signal_from_bending_power_law,
generate_signal_from_generic_psd,
)
from slsim.Util.astro_util import generate_signal_from_bending_power_law
from slsim.Util.astro_util import generate_signal_from_generic_psd

"""This class aims to have realistic variability models for AGN and supernovae."""


Expand Down

0 comments on commit 434fbe0

Please sign in to comment.