diff --git a/.travis.yml b/.travis.yml index 50ddf18..cd008fb 100644 --- a/.travis.yml +++ b/.travis.yml @@ -26,7 +26,7 @@ install: - pip install --force-reinstall pylint==1.9.2 script: - pylint adafruit_featherwing/*.py -- ([[ ! -d "examples" ]] || pylint --disable=missing-docstring,invalid-name examples/**/*.py) +- ([[ ! -d "examples" ]] || pylint --disable=missing-docstring,invalid-name examples/*.py) - circuitpython-build-bundles --filename_prefix adafruit-circuitpython-featherwing --library_location . - cd docs && sphinx-build -E -W -b html . _build/html && cd .. diff --git a/docs/examples.rst b/docs/examples.rst index 9c27fc7..e0ef07b 100644 --- a/docs/examples.rst +++ b/docs/examples.rst @@ -3,10 +3,10 @@ Simple tests Ensure your device works with this simple test. -.. literalinclude:: ../examples/ina219_featherwing/ina219.py - :caption: examples/ina219_featherwing/ina219.py +.. literalinclude:: ../examples/featherwing_ina219_simpletest.py + :caption: examples/featherwing_ina219_simpletest.py :linenos: -.. literalinclude:: ../examples/joy_featherwing/joy.py - :caption: examples/joy_featherwing/joy.py +.. literalinclude:: ../examples/featherwing_joy_simpletest.py + :caption: examples/featherwing_joy_simpletest.py :linenos: diff --git a/examples/ina219_featherwing/ina219.py b/examples/featherwing_ina219_simpletest.py similarity index 100% rename from examples/ina219_featherwing/ina219.py rename to examples/featherwing_ina219_simpletest.py diff --git a/examples/joy_featherwing/joy.py b/examples/featherwing_joy_simpletest.py similarity index 100% rename from examples/joy_featherwing/joy.py rename to examples/featherwing_joy_simpletest.py