Skip to content

Commit

Permalink
Linting: too long a line in pulsar.py
Browse files Browse the repository at this point in the history
  • Loading branch information
vhaasteren committed Nov 29, 2023
1 parent dbf5779 commit 143bb6b
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions enterprise/pulsar.py
Original file line number Diff line number Diff line change
Expand Up @@ -624,9 +624,11 @@ def __init__(
if inc_astrometry and not hasattr(const, "c"): # pragma: no cover
# We requested astromery parameters, but there's no astropy
if not MockPulsar._noastropy_warning_issued:
logger.warning(
"Astropy not installed but requested astrometry timing model. Switching off astrometry parameters in all instances of MockPulsar."
)
msg = "WARNING: Astropy not installed but user requested "
msg += "astrometry timing model in MockPulsar. "
msg += "Switching off astrometry in all instances of MockPulsar."
logger.warning(msg)

MockPulsar._noastropy_warning_issued = True

inc_astrometry = False
Expand Down

0 comments on commit 143bb6b

Please sign in to comment.