Skip to content

Commit a3a78f7

Browse files
committed
Remove unused lint ignores
1 parent 8b9a186 commit a3a78f7

22 files changed

+52
-52
lines changed

tools/calc_cat_matrices.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99

1010
sys.path.insert(0, os.getcwd())
1111

12-
from coloraide import algebra as alg # noqa: E402
13-
from coloraide import util # noqa: E402
12+
from coloraide import algebra as alg
13+
from coloraide import util
1414

1515

1616
white_d65 = util.xy_to_xyz((0.31270, 0.32900))

tools/calc_cvd_matrices.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44

55
sys.path.insert(0, os.getcwd())
66

7-
from coloraide import algebra as alg # noqa: E402
8-
from coloraide import Color # noqa: E402
7+
from coloraide import algebra as alg
8+
from coloraide import Color
99

1010
# Smith & Pokorny (1975) 2-deg cone fundamentals
1111
M = [

tools/calc_hct_j_poly.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55

66
sys.path.insert(0, os.getcwd())
77

8-
from coloraide.everything import ColorAll as Color # noqa: E402
9-
from coloraide.spaces import cam16 # noqa: E402
10-
from coloraide.spaces import hct # noqa: E402
8+
from coloraide.everything import ColorAll as Color
9+
from coloraide.spaces import cam16
10+
from coloraide.spaces import hct
1111

1212
env = hct.HCT.ENV
1313

tools/calc_ictcp_matrices.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88

99
sys.path.insert(0, os.getcwd())
1010

11-
from coloraide import algebra as alg # noqa: E402
12-
import tools.calc_xyz_transform as xyzt # noqa: E402
11+
from coloraide import algebra as alg
12+
import tools.calc_xyz_transform as xyzt
1313

1414

1515
RGB_TO_XYZ, XYZ_TO_RGB = xyzt.get_matrix(xyzt.white_d65, 'rec2020')

tools/calc_igpgtg_matrices.py

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

99
sys.path.insert(0, os.getcwd())
1010

11-
from coloraide import algebra as alg # noqa: E402
11+
from coloraide import algebra as alg
1212

1313
m1 = [
1414
[2.968, 2.741, -0.649],

tools/calc_ipt_matrices.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88

99
sys.path.insert(0, os.getcwd())
1010

11-
from tools.calc_xyz_transform import white_d65 # noqa: E402
12-
from coloraide import algebra as alg # noqa: E402
11+
from tools.calc_xyz_transform import white_d65
12+
from coloraide import algebra as alg
1313

1414
# IPT provides 2 matrices, the forward and reverse transform.
1515
# These matrices are given at 16 bit accuracy. If the forward

tools/calc_jzazbz_matrices.py

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

55
sys.path.insert(0, os.getcwd())
66

7-
from coloraide import algebra as alg # noqa: E402
7+
from coloraide import algebra as alg
88

99
m1 = [
1010
[0.41478972, 0.579999, 0.0146480],

tools/calc_oklab_matrices.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,8 +133,8 @@
133133

134134
sys.path.insert(0, os.getcwd())
135135

136-
import tools.calc_xyz_transform as xyzt # noqa: E402
137-
from coloraide import algebra as alg # noqa: E402
136+
import tools.calc_xyz_transform as xyzt
137+
from coloraide import algebra as alg
138138

139139

140140
float32 = alg.vectorize(lambda value: struct.unpack('f', struct.pack('f', value))[0])

tools/calc_range_rgb.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
from coloraide_extras.everything import ColorAll as Color
1111
except ImportError:
1212
from coloraide.everything import ColorAll as Color
13-
from coloraide import algebra as alg # noqa: E402
13+
from coloraide import algebra as alg
1414

1515

1616
def main():

tools/calc_xyz_transform.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44

55
sys.path.insert(0, os.getcwd())
66

7-
from coloraide import util # noqa: E402
8-
from coloraide import algebra as alg # noqa: E402
7+
from coloraide import util
8+
from coloraide import algebra as alg
99

1010
white_d65 = util.xy_to_xyz((0.31270, 0.32900))
1111
white_d50 = util.xy_to_xyz((0.34570, 0.35850))

0 commit comments

Comments
 (0)