Skip to content
This repository was archived by the owner on Jan 13, 2024. It is now read-only.

Commit a51f041

Browse files
author
DirectiveAthena
committed
Feat: rename of func
1 parent c24e714 commit a51f041

16 files changed

+18
-18
lines changed

Tests/ColorObjects/test_ColorTupleConversions.py

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

88
# Custom Library
9-
from AthenaColor.functions.color_tuple_conversion import *
9+
from AthenaColor.func.color_tuple_conversion import *
1010

1111
# Custom Packages
1212
# ----------------------------------------------------------------------------------------------------------------------

Tests/Functions/test_ANSIsequences.py

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

88
# Custom Library
9-
from AthenaColor.functions.ansi_sequences import *
9+
from AthenaColor.func.ansi_sequences import *
1010

1111
# Custom Packages
1212

Tests/Functions/test_Constraints.py

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

88
# Custom Library
9-
from AthenaColor.functions.constrains import *
9+
from AthenaColor.func.constrains import *
1010

1111
# Custom Packages
1212

Tests/Functions/test_General.py

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

88
# Custom Library
9-
from AthenaColor.functions.functions import *
9+
from AthenaColor.func.general import *
1010

1111
# Custom Packages
1212

src/AthenaColor/__init__.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@
2020

2121
from AthenaColor.models.color_system import RGB, RGBA, HEX, HEXA, HSV, HSL, CMYK
2222

23-
import AthenaColor.functions.color_tuple_conversion as color_tuple_conversion
24-
import AthenaColor.functions.color_object_conversion as color_object_conversion
23+
import AthenaColor.func.color_tuple_conversion as color_tuple_conversion
24+
import AthenaColor.func.color_object_conversion as color_object_conversion
2525

2626
# apply the fix, so that in windows the colors are shown correctly
27-
from AthenaColor.functions.functions import fix_console as _fix_console
27+
from AthenaColor.func.general import fix_console as _fix_console
2828
_fix_console()
2929

3030
# import the info function
File renamed without changes.

src/AthenaColor/functions/blend_modes.py renamed to src/AthenaColor/func/blend_modes.py

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

1212
# Custom Packages
1313
from AthenaColor.models.color_system import ColorSystem, RGBA
14-
from AthenaColor.functions.color_object_conversion import to_RGBA
15-
from AthenaColor.functions.color_tuple_conversion import normalize_rgba
14+
from AthenaColor.func.color_object_conversion import to_RGBA
15+
from AthenaColor.func.color_tuple_conversion import normalize_rgba
1616

1717
# ----------------------------------------------------------------------------------------------------------------------
1818
# - Support Code -

src/AthenaColor/functions/color_object_conversion.py renamed to src/AthenaColor/func/color_object_conversion.py

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

99
# Custom Packages
10-
from AthenaColor.functions.color_tuple_conversion import rgb_to_hex, rgba_to_hexa
10+
from AthenaColor.func.color_tuple_conversion import rgb_to_hex, rgba_to_hexa
1111
from AthenaColor.models.color_system import ColorSystem,RGB,HEX,CMYK,HSL,HSV,RGBA,HEXA, color_conversions_mapped
1212

1313
# ----------------------------------------------------------------------------------------------------------------------

src/AthenaColor/functions/color_tuple_conversion.py renamed to src/AthenaColor/func/color_tuple_conversion.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@
99
# Custom Library
1010

1111
# Custom Packages
12-
from AthenaColor.functions.functions import (
12+
from AthenaColor.func.general import (
1313
round_half_up
1414
)
15-
from AthenaColor.functions.constrains import (
15+
from AthenaColor.func.constrains import (
1616
constrain_hsv, constrain_hsl, constrain_rgb, constrain_cmyk, constrain_rgba
1717
)
1818

0 commit comments

Comments
 (0)