Skip to content

Commit f1b996f

Browse files
authored
Merge pull request #7 from makermelissa/master
Fixed pylint in _travis.yml and line endings now that travis can check files
2 parents cb8f2c9 + 470fea8 commit f1b996f

File tree

2 files changed

+19
-18
lines changed

2 files changed

+19
-18
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ install:
2626
- pip install pylint circuitpython-build-tools Sphinx sphinx-rtd-theme
2727

2828
script:
29-
- pylint led_animation.py
29+
- pylint led_animation/*.py
3030
- ([[ ! -d "examples" ]] || pylint --disable=missing-docstring,invalid-name,bad-whitespace examples/*.py)
3131
- circuitpython-build-bundles --filename_prefix circuitpython-led_animation --library_location .
3232
- cd docs && sphinx-build -E -W -b html . _build/html

led_animation/color.py

Lines changed: 18 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,18 @@
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)

0 commit comments

Comments
 (0)