File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ deploy:
2323install :
2424- pip install -r requirements.txt
2525- pip install pylint circuitpython-build-tools Sphinx sphinx-rtd-theme
26+ - pip install --force-reinstall pylint==2.0.1
2627script :
2728- pylint neopixel.py
2829- ([[ ! -d "examples" ]] || pylint --disable=missing-docstring,invalid-name examples/*.py)
Original file line number Diff line number Diff line change @@ -30,10 +30,9 @@ def wheel(pos):
3030 return format_tuple (0 , 0 , 0 )
3131 if pos < 85 :
3232 return format_tuple (int (pos * 3 ), int (255 - (pos * 3 )), 0 )
33- elif pos < 170 :
33+ if pos < 170 :
3434 pos -= 85
3535 return format_tuple (int (255 - pos * 3 ), 0 , int (pos * 3 ))
36- #else:
3736 pos -= 170
3837 return format_tuple (0 , int (pos * 3 ), int (255 - pos * 3 ))
3938
You can’t perform that action at this time.
0 commit comments