Skip to content

Commit ed7f0f1

Browse files
committed
feat: sort imports
1 parent 914d153 commit ed7f0f1

File tree

5 files changed

+5
-4
lines changed

5 files changed

+5
-4
lines changed

csaps/_base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
import numpy as np
99

10-
from ._types import TData, TExtrapolate, TNu, TProps, TSmooth, TSpline, TXi, FloatNDArrayType
10+
from ._types import FloatNDArrayType, TData, TExtrapolate, TNu, TProps, TSmooth, TSpline, TXi
1111

1212

1313
class ISplinePPForm(abc.ABC, Generic[TData, TProps]):

csaps/_sspndg.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
umv_coeffs_to_flatten,
1717
)
1818
from ._sspumv import CubicSmoothingSpline
19-
from ._types import SequenceUnivariateDataType, FloatNDArrayType, Float1DArrayTupe
19+
from ._types import Float1DArrayTupe, FloatNDArrayType, SequenceUnivariateDataType
2020

2121

2222
def ndgrid_prepare_data_vectors(

csaps/_sspumv.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
from ._base import ISmoothingSpline, ISplinePPForm
1414
from ._reshape import prod, to_2d
15-
from ._types import MultivariateDataType, UnivariateDataType, FloatNDArrayType
15+
from ._types import FloatNDArrayType, MultivariateDataType, UnivariateDataType
1616

1717

1818
class SplinePPForm(ISplinePPForm[np.ndarray, int], PPoly):

csaps/_types.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
Type-hints and type vars
33
"""
44

5-
from typing import Sequence, TypeVar, Union, Annotated, Literal
5+
from typing import Annotated, Literal, Sequence, TypeVar, Union
66

77
from typing_extensions import TypeAlias
88
import numpy as np

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ select = [
9494
"F", # All Pyflakes errors
9595
"A", # All flake8-builtins
9696
"Q", # Quotes
97+
"I", # Sort imports
9798
"T201", # print found
9899
"T203", # pprint found
99100
]

0 commit comments

Comments
 (0)