Skip to content

Commit

Permalink
Fix README formatting + add check for formatting
Browse files Browse the repository at this point in the history
 This caused the 1.9.0 release to fail the first time around
  • Loading branch information
rtpg committed May 20, 2020
1 parent 1efa401 commit ef66f6f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ matrix:
- python: 3.7
env: TOXENV=docs
- python: 3.7
env: TOXENV=flake8
env: TOXENV=checks
before_install:
- sudo apt-get -q -y update
- sudo apt-get remove -q -y binutils gdal-bin libproj-dev libgeos-c1v5
Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ Install the development requirements::

Currently, you'll need to `install the GeoDjango requirements`_ when running tests.

:: _install the GeoDjango requirements: https://docs.djangoproject.com/en/3.0/ref/contrib/gis/install/geolibs/
.. _install the GeoDjango requirements: https://docs.djangoproject.com/en/3.0/ref/contrib/gis/install/geolibs/

Run the tests::

Expand Down
7 changes: 5 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,10 @@ deps =
commands =
sphinx-build -W -b html -d {envtmpdir}/doctrees . {envtmpdir}/html

[testenv:flake8]
[testenv:checks]
deps =
flake8
commands = flake8 floppyforms
readme_renderer
commands =
flake8 floppyforms
python setup.py check -r -s

0 comments on commit ef66f6f

Please sign in to comment.