Commit d98bfe0 1 parent b01cb75 commit d98bfe0 Copy full SHA for d98bfe0
File tree 5 files changed +25
-19
lines changed
pyaction/action_template/{{action_slug}}
5 files changed +25
-19
lines changed Original file line number Diff line number Diff line change @@ -6,5 +6,8 @@ readme = "README.md"
6
6
requires-python = ">={{ python_version }}"
7
7
dependencies = ["pyaction==0.8.1"]
8
8
9
+ [tool.setuptools.packages.find]
10
+ exclude = ["test*"]
11
+
9
12
[project.optional-dependencies]
10
13
cli = ["pyaction[cli]==0.8.1"]
Original file line number Diff line number Diff line change
1
+ def rainbowfier (string ):
2
+ colors = [
3
+ "\033 [91m" ,
4
+ "\033 [93m" ,
5
+ "\033 [92m" ,
6
+ "\033 [94m" ,
7
+ "\033 [95m" ,
8
+ "\033 [96m" ,
9
+ ] # ANSI escape codes for colors
10
+
11
+ rainbow_string = ""
12
+ color_index = 0
13
+
14
+ for char in string :
15
+ rainbow_string += colors [color_index ] + char
16
+ color_index = (color_index + 1 ) % len (colors )
17
+
18
+ return rainbow_string + "\033 [0m" # Reset color after the string
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
- from glorious . pattern import rainbowfier
1
+ from glorious import rainbowfier
2
2
3
3
from pyaction import PyAction
4
4
from pyaction .workflow import annotations
Original file line number Diff line number Diff line change @@ -6,5 +6,8 @@ readme = "README.md"
6
6
requires-python = " >=3.12"
7
7
dependencies = [" pyaction @ git+https://github.com/lnxpy/pyaction#main" ]
8
8
9
+ # [tool.setuptools.packages.find]
10
+ # exclude = ["test*"]
11
+
9
12
[project .optional-dependencies ]
10
13
dev = [" pyaction[cli] @ git+https://github.com/lnxpy/pyaction#main" ]
You can’t perform that action at this time.
0 commit comments