Skip to content

Commit f3d8e05

Browse files
committed
pylint version to 1.9.5; fix test issues
1 parent 6ff766c commit f3d8e05

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.travis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@ deploy:
2323
tags: true
2424

2525
install:
26-
- pip install pylint circuitpython-build-tools Sphinx sphinx-rtd-theme pytest
26+
- pip install --force-reinstall pylint==1.9.2
27+
- pip install circuitpython-build-tools Sphinx sphinx-rtd-theme pytest
2728

2829
script:
2930
- py.test

tests/test_stepper.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ class Coil:
1414
def __init__(self):
1515
self._duty_cycle = 0
1616

17+
@property
18+
def frequency(self):
19+
return 1500
20+
1721
@property
1822
def duty_cycle(self):
1923
return self._duty_cycle

0 commit comments

Comments
 (0)