doc + facke test
This commit is contained in:
parent
95f2b8c7c9
commit
8089e60838
6
gfxlcd/tests/dummy_test.py
Normal file
6
gfxlcd/tests/dummy_test.py
Normal file
@ -0,0 +1,6 @@
|
||||
from nose.tools import assert_equal
|
||||
|
||||
|
||||
class DummyTest(object):
|
||||
def test_init(self):
|
||||
assert_equal(1, 1)
|
12
readme.md
12
readme.md
@ -99,17 +99,17 @@ Custom pins:
|
||||
|
||||
Drawing functions
|
||||
===
|
||||
draw_pixel
|
||||
draw_pixel(x, y)
|
||||
|
||||
draw_line
|
||||
draw_line(from_x, from_y, to_x, to_y)
|
||||
|
||||
draw_rect
|
||||
draw_rect(x1, y1, x2, y2)
|
||||
|
||||
draw_circle
|
||||
draw_circle(x1, y1, radius)
|
||||
|
||||
draw_arc
|
||||
draw_arc(x1, y1, radius, from_angle, to_angle
|
||||
|
||||
fill_rect
|
||||
fill_rect(x1, y1, x2, y2)
|
||||
|
||||
|
||||
Colours
|
||||
|
2
tox.ini
2
tox.ini
@ -10,7 +10,7 @@ deps=
|
||||
flake8
|
||||
pylint
|
||||
whitelist_externals = /bin/bash
|
||||
commands= nosetests --with-xunit --xunit-file=junit-{envname}.xml charlcd/tests
|
||||
commands= nosetests --with-xunit --xunit-file=junit-{envname}.xml gfxlcd/tests
|
||||
rm flake8-{envname}.log
|
||||
/bin/bash -c "flake8 --output-file=flake8-{envname}.log gfxlcd || :"
|
||||
/bin/bash -c "pylint gfxlcd > pylint-{envname}.log || :"
|
||||
|
Loading…
Reference in New Issue
Block a user