Skip to content

Commit

Permalink
Fix PEP8
Browse files Browse the repository at this point in the history
  • Loading branch information
mcara committed Apr 23, 2021
1 parent 1f65e85 commit 9e5ec58
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 7 deletions.
4 changes: 2 additions & 2 deletions synphot/tests/test_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@

# LOCAL
from synphot import specio, units
from synphot.models import (BlackBody1D, ConstFlux1D, Empirical1D, PowerLawFlux1D,
get_metadata)
from synphot.models import (BlackBody1D, ConstFlux1D, Empirical1D,
PowerLawFlux1D, get_metadata)


def setup_module(module):
Expand Down
13 changes: 9 additions & 4 deletions synphot/tests/test_observation.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,21 @@
from synphot.tests.test_units import _area
from synphot import exceptions, units
from synphot.compat import HAS_SPECUTILS # noqa
from synphot.models import (BlackBodyNorm1D, Box1D, ConstFlux1D, Empirical1D,
GaussianFlux1D)
from synphot.models import (
BlackBodyNorm1D, Box1D, ConstFlux1D, Empirical1D, GaussianFlux1D
)
from synphot.observation import Observation
from synphot.spectrum import SourceSpectrum, SpectralElement

# Global test data files
_specfile = get_pkg_data_filename(
os.path.join('data', 'grw_70d5824_stisnic_005.fits'), package='synphot.tests')
os.path.join('data', 'grw_70d5824_stisnic_005.fits'),
package='synphot.tests'
)
_bandfile = get_pkg_data_filename(
os.path.join('data', 'hst_acs_hrc_f555w.fits'), package='synphot.tests')
os.path.join('data', 'hst_acs_hrc_f555w.fits'),
package='synphot.tests'
)


class TestObservation:
Expand Down
4 changes: 3 additions & 1 deletion synphot/tests/test_spectrum_source.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@
from astropy.utils.exceptions import AstropyUserWarning

# LOCAL
from synphot.tests.test_units import _area, _wave, _flux_jy, _flux_photlam, _flux_vegamag
from synphot.tests.test_units import (
_area, _wave, _flux_jy, _flux_photlam, _flux_vegamag
)
from synphot import exceptions, units
from synphot.compat import ASTROPY_LT_4_0
from synphot.compat import HAS_SPECUTILS # noqa
Expand Down

0 comments on commit 9e5ec58

Please sign in to comment.