From 64149c4d9998ca64d0786f20c894c9b36b3bed74 Mon Sep 17 00:00:00 2001 From: Melissa LeBlanc-Williams Date: Mon, 25 Feb 2019 14:36:34 -0800 Subject: [PATCH 1/3] Fixed pylint command --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 From 908900a077ad5bbbedbeff8f8c20efc872b3d568 Mon Sep 17 00:00:00 2001 From: Melissa LeBlanc-Williams Date: Mon, 25 Feb 2019 14:40:30 -0800 Subject: [PATCH 2/3] Fixed line endings --- led_animation/color.py | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/led_animation/color.py b/led_animation/color.py index 6f2a605..22d8220 100644 --- a/led_animation/color.py +++ b/led_animation/color.py @@ -1,17 +1,17 @@ -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) +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) From 470fea8328250d19469edd36bcca801be8595162 Mon Sep 17 00:00:00 2001 From: Melissa LeBlanc-Williams Date: Mon, 25 Feb 2019 14:59:46 -0800 Subject: [PATCH 3/3] Added docstring --- led_animation/color.py | 1 + 1 file changed, 1 insertion(+) diff --git a/led_animation/color.py b/led_animation/color.py index 22d8220..082fd7c 100644 --- a/led_animation/color.py +++ b/led_animation/color.py @@ -1,3 +1,4 @@ +"""Color variables made available for import""" RED = (255, 0, 0) YELLOW = (255, 150, 0) ORANGE = (255, 40, 0)