diff --git a/.travis.yml b/.travis.yml index d55364d..2fd9231 100644 --- a/.travis.yml +++ b/.travis.yml @@ -26,7 +26,7 @@ install: - pip install pylint circuitpython-build-tools Sphinx sphinx-rtd-theme script: - - pylint led_animation.py + - pylint led_animation/*.py - ([[ ! -d "examples" ]] || pylint --disable=missing-docstring,invalid-name,bad-whitespace examples/*.py) - circuitpython-build-bundles --filename_prefix circuitpython-led_animation --library_location . - cd docs && sphinx-build -E -W -b html . _build/html diff --git a/led_animation/color.py b/led_animation/color.py index 6f2a605..082fd7c 100644 --- a/led_animation/color.py +++ b/led_animation/color.py @@ -1,17 +1,18 @@ -RED = (255, 0, 0) -YELLOW = (255, 150, 0) -ORANGE = (255, 40, 0) -GREEN = (0, 255, 0) -TEAL = (0, 255, 120) -CYAN = (0, 255, 255) -BLUE = (0, 0, 255) -PURPLE = (180, 0, 255) -MAGENTA = (255, 0, 20) -WHITE = (255, 255, 255) - -# Sparkle colors: -GOLD = (255, 222, 30) -PINK = (242, 90, 255) -AQUA = (50, 255, 255) -JADE = (0, 255, 40) -AMBER = (255, 100, 0) +"""Color variables made available for import""" +RED = (255, 0, 0) +YELLOW = (255, 150, 0) +ORANGE = (255, 40, 0) +GREEN = (0, 255, 0) +TEAL = (0, 255, 120) +CYAN = (0, 255, 255) +BLUE = (0, 0, 255) +PURPLE = (180, 0, 255) +MAGENTA = (255, 0, 20) +WHITE = (255, 255, 255) + +# Sparkle colors: +GOLD = (255, 222, 30) +PINK = (242, 90, 255) +AQUA = (50, 255, 255) +JADE = (0, 255, 40) +AMBER = (255, 100, 0)