File tree Expand file tree Collapse file tree 2 files changed +19
-18
lines changed Expand file tree Collapse file tree 2 files changed +19
-18
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ install:
26
26
- pip install pylint circuitpython-build-tools Sphinx sphinx-rtd-theme
27
27
28
28
script :
29
- - pylint led_animation.py
29
+ - pylint led_animation/* .py
30
30
- ([[ ! -d "examples" ]] || pylint --disable=missing-docstring,invalid-name,bad-whitespace examples/*.py)
31
31
- circuitpython-build-bundles --filename_prefix circuitpython-led_animation --library_location .
32
32
- cd docs && sphinx-build -E -W -b html . _build/html
Original file line number Diff line number Diff line change 1
- RED = (255 , 0 , 0 )
2
- YELLOW = (255 , 150 , 0 )
3
- ORANGE = (255 , 40 , 0 )
4
- GREEN = (0 , 255 , 0 )
5
- TEAL = (0 , 255 , 120 )
6
- CYAN = (0 , 255 , 255 )
7
- BLUE = (0 , 0 , 255 )
8
- PURPLE = (180 , 0 , 255 )
9
- MAGENTA = (255 , 0 , 20 )
10
- WHITE = (255 , 255 , 255 )
11
-
12
- # Sparkle colors:
13
- GOLD = (255 , 222 , 30 )
14
- PINK = (242 , 90 , 255 )
15
- AQUA = (50 , 255 , 255 )
16
- JADE = (0 , 255 , 40 )
17
- AMBER = (255 , 100 , 0 )
1
+ """Color variables made available for import"""
2
+ RED = (255 , 0 , 0 )
3
+ YELLOW = (255 , 150 , 0 )
4
+ ORANGE = (255 , 40 , 0 )
5
+ GREEN = (0 , 255 , 0 )
6
+ TEAL = (0 , 255 , 120 )
7
+ CYAN = (0 , 255 , 255 )
8
+ BLUE = (0 , 0 , 255 )
9
+ PURPLE = (180 , 0 , 255 )
10
+ MAGENTA = (255 , 0 , 20 )
11
+ WHITE = (255 , 255 , 255 )
12
+
13
+ # Sparkle colors:
14
+ GOLD = (255 , 222 , 30 )
15
+ PINK = (242 , 90 , 255 )
16
+ AQUA = (50 , 255 , 255 )
17
+ JADE = (0 , 255 , 40 )
18
+ AMBER = (255 , 100 , 0 )
You can’t perform that action at this time.
0 commit comments