From 4b35bd89dcb6f4a68a0a1da9251df4c92162cdab Mon Sep 17 00:00:00 2001 From: Kattni Rembor Date: Thu, 2 Aug 2018 12:31:58 -0400 Subject: [PATCH 1/2] Fixed badge in readme, add overwite/pylint to travis.yml --- .travis.yml | 1 + README.rst | 7 +++---- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 92ef9f7..dc4dd29 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,6 +11,7 @@ deploy: file_glob: true file: "$TRAVIS_BUILD_DIR/bundles/*" skip_cleanup: true + overwrite: true on: tags: true - provider: pypi diff --git a/README.rst b/README.rst index 7f8c032..bb32cb6 100644 --- a/README.rst +++ b/README.rst @@ -2,12 +2,12 @@ Introduction ============ -.. image:: https://readthedocs.org/projects/adafruit-circuitpython-CircuitPython_ADS1x15/badge/?version=latest - :target: https://circuitpython.readthedocs.io/projects/CircuitPython_ADS1x15/en/latest/ +.. image:: https://readthedocs.org/projects/adafruit-circuitpython-ads1x15/badge/?version=latest + :target: https://circuitpython.readthedocs.io/projects/ads1x15/en/latest/ :alt: Documentation Status .. image :: https://img.shields.io/discord/327254708534116352.svg - :target: https://discord.gg/nBQh6qu + :target: https://adafru.it/discord :alt: Discord .. image:: https://travis-ci.org/adafruit/Adafruit_CircuitPython_ADS1x15.svg?branch=master @@ -115,4 +115,3 @@ Now, once you have the virtual environment activated: This will output the documentation to ``docs/_build/html``. Open the index.html in your browser to view them. It will also (due to -W) error out on any warning like Travis will. This is a good way to locally verify it will pass. - From 04a397cc6d44127df7af7b4d5edf9a928c4bbfa4 Mon Sep 17 00:00:00 2001 From: Kattni Rembor Date: Thu, 2 Aug 2018 15:00:09 -0400 Subject: [PATCH 2/2] pylint force install travis.yml --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index dc4dd29..c0ea78d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -23,6 +23,7 @@ deploy: install: - pip install -r requirements.txt - pip install pylint circuitpython-build-tools Sphinx sphinx-rtd-theme +- pip install --force-reinstall pylint==1.9.2 script: - pylint adafruit_ads1x15/*.py - ([[ ! -d "examples" ]] || pylint --disable=missing-docstring,invalid-name examples/*.py)