Skip to content

Commit

Permalink
isort config fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
samaloney committed Sep 10, 2024
1 parent 03b001a commit b0e1fad
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 13 deletions.
8 changes: 4 additions & 4 deletions .isort.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
balanced_wrapping = true
skip =
docs/conf.py
smart/__init__.py
chimerapy/__init__.py
default_section = THIRDPARTY
include_trailing_comma = true
known_astropy = astropy, asdf
known_sunpy = sunpy
known_first_party = smart
known_chimerapy = chimerapy
known_first_party = chimerapy
length_sort = false
length_sort_sections = stdlib
line_length = 110
multi_line_output = 3
no_lines_before = LOCALFOLDER
sections = STDLIB, THIRDPARTY, ASTROPY, SUNPY, FIRSTPARTY, LOCALFOLDER
sections = STDLIB, THIRDPARTY, ASTROPY, CHIMERAPY, FIRSTPARTY, LOCALFOLDER
4 changes: 1 addition & 3 deletions chimerapy/chimera.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
""" """

import glob
import sys
import glob

import cv2
import mahotas
import matplotlib.pyplot as plt
import numpy as np
import sunpy.map
from scipy.interpolate import RectBivariateSpline
from skimage.util import img_as_ubyte

Expand All @@ -16,8 +16,6 @@
from astropy.io import fits
from astropy.modeling.models import Gaussian2D

import sunpy.map


def chimera_legacy():
file_path = "./"
Expand Down
11 changes: 5 additions & 6 deletions examples/paper-figures.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,6 @@
from matplotlib import pyplot as plt
from matplotlib.colors import LogNorm
from matplotlib.patches import Rectangle

import astropy.units as u
from astropy.coordinates import SkyCoord
from astropy.units import UnitsError
from astropy.visualization import make_lupton_rgb

from sunpy.map import (
Map,
all_coordinates_from_map,
Expand All @@ -30,6 +24,11 @@
sample_at_coords,
)

import astropy.units as u
from astropy.coordinates import SkyCoord
from astropy.units import UnitsError
from astropy.visualization import make_lupton_rgb

# %%
#
# Figure 2
Expand Down

0 comments on commit b0e1fad

Please sign in to comment.