Skip to content

Commit

Permalink
Fix CHANGELOG.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
valgur committed Jul 27, 2017
1 parent 19489e3 commit 82aa614
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
6 changes: 2 additions & 4 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ Added

Changed
~~~~~~~
* Merged CLI subcommands ``sentinel search`` and ``sentinel download`` into ``sentinelsat``.
* CLI uses keywords instead of positional arguments, i.e. ``--user <username>``.
* Files being downloaded now include an '.incomplete' suffix in their name until the download is finished.
* Removed ``check_existing`` option from ``download()`` and ``download_all()``.
Similar functionality has been provided in the new ``check_files()`` function.
Expand All @@ -40,10 +42,6 @@ Fixed
* Show the correct progress value in the download progressbar when continuing from an incomplete file. (Thanks @gbaier!)
* Added a workaround for a server-side bug when plus symbols are used in a query.

Changed
~~~~~~~
* merged CLI subcommands ``sentinel search`` and ``sentinel download`` into ``sentinelsat``
* CLI uses keywords instead of positional arguments, i.e. ``--user <username>``

[0.11] – 2017-06-01
-------------------
Expand Down
5 changes: 5 additions & 0 deletions tests/test_docs.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
import os.path

import pytest
import rstcheck


@pytest.mark.parametrize('rst_file', [
'CONTRIBUTE.rst',
'README.rst',
Expand All @@ -17,6 +19,9 @@ def test_rst(rst_file):
all_errors = []
for error in rstcheck.check(contents, report_level=2, ignore=['python', 'bash']):
# report only warnings and higher, ignore Python and Bash pseudocode examples
if 'Title underline too short' in error[1]:
# These are caused by unicode en dashes and can be ignored
continue
all_errors.append(error)

assert len(all_errors) == 0

0 comments on commit 82aa614

Please sign in to comment.