Skip to content

Commit 1570b23

Browse files
authored
Merge pull request #6 from kattni/pypi
updated travis.yml
2 parents fde7258 + ea055a7 commit 1570b23

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

.travis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ python:
66
cache:
77
pip: true
88
deploy:
9-
provider: releases
9+
- provider: releases
1010
api_key: "$GITHUB_TOKEN"
1111
file_glob: true
1212
file: "$TRAVIS_BUILD_DIR/bundles/*"
@@ -23,6 +23,7 @@ deploy:
2323
install:
2424
- pip install -r requirements.txt
2525
- pip install pylint circuitpython-build-tools Sphinx sphinx-rtd-theme
26+
- pip install --force-reinstall pylint==1.9.2
2627
script:
2728
- pylint adafruit_thermistor.py
2829
- ([[ ! -d "examples" ]] || pylint --disable=missing-docstring,invalid-name examples/*.py)

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
# Uncomment the below if you use native CircuitPython modules such as
1919
# digitalio, micropython and busio. List the modules you use. Without it, the
2020
# autodoc module docs will fail to generate with a warning.
21-
# autodoc_mock_imports = ["analogio"]
21+
autodoc_mock_imports = ["analogio"]
2222

2323
intersphinx_mapping = {'python': ('https://docs.python.org/3.4', None),'CircuitPython': ('https://circuitpython.readthedocs.io/en/latest/', None)}
2424

examples/thermistor_simpletest.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
import time
2-
import adafruit_thermistor
32
import board
3+
import adafruit_thermistor
44

55
# these values work with the Adafruit CircuitPlayground Express.
66
# they may work with other thermistors as well, as they're fairly standard,
77
# though the pin will likely need to change (ie board.A1)
8+
# pylint: disable=no-member
89
pin = board.TEMPERATURE
910
resistor = 10000
1011
resistance = 10000

0 commit comments

Comments
 (0)