Skip to content

Commit 07fffa1

Browse files
Flimmtheskumar
authored andcommitted
Fix RST errors in README.rst and test for errors (theskumar#100)
The test is not run in Python 3.3 because of this bug: https://sourceforge.net/p/docutils/bugs/270/ Having valid RST is important so that Pypi's web interface interprets the RST correctly and display long_description in a pretty format.
1 parent b8fa111 commit 07fffa1

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

.travis.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,16 @@ python:
88
- '3.6'
99
- pypy
1010
install:
11-
- pip install python-coveralls
11+
- pip install python-coveralls docutils
1212
- pip install -q -r requirements.txt
1313
- pip install --editable .
1414
script:
1515
- flake8 .
1616
- pytest -v --tb=native --cov
17+
- |
18+
if python -c 'import sys; sys.exit(0 if sys.version_info >= (3, 4) else 1)' ; then
19+
python setup.py check --metadata --restructuredtext --strict
20+
fi
1721
after_success:
1822
- coveralls
1923
deploy:

README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ You can use dotenv with iPython. You can either let the dotenv search for .env w
172172

173173

174174
Command-line interface
175-
=================
175+
======================
176176

177177
For commandline support, use the `cli` option during installation:
178178

@@ -307,7 +307,7 @@ Changelog
307307
0.8.0
308308
----------------------------
309309
- ``set_key`` and ``unset_key`` only modified the affected file instead of parsing and re-writing file, this causes comments and other file entact as it is.
310-
- Add support for ``export `` prefix in the line.
310+
- Add support for ``export`` prefix in the line.
311311
- Internal refractoring (`@theskumar`_)
312312
- Allow ``load_dotenv`` and ``dotenv_values`` to work with ``StringIO())`` (`@alanjds`_)(`@theskumar`_) (`#78`_)
313313

0 commit comments

Comments
 (0)