From 9ddbfd8abc776de63eeb0d5e85e434586bb67c8b Mon Sep 17 00:00:00 2001 From: Daniel Lemm <61800298+ffe4@users.noreply.github.com> Date: Mon, 16 Mar 2020 10:34:44 +0100 Subject: [PATCH] Fix README and make tests pass Fixes invalid references in README and fixes errors in 26bddb7 --- ext/opentelemetry-ext-otcollector/README.rst | 4 ++-- tests/check_for_valid_readme.py | 3 ++- tox.ini | 1 + 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/ext/opentelemetry-ext-otcollector/README.rst b/ext/opentelemetry-ext-otcollector/README.rst index 200ec9a91d..bf7c9b70e0 100644 --- a/ext/opentelemetry-ext-otcollector/README.rst +++ b/ext/opentelemetry-ext-otcollector/README.rst @@ -6,7 +6,7 @@ OpenTelemetry Collector Exporter .. |pypi| image:: https://badge.fury.io/py/opentelemetry-ext-otcollector.svg :target: https://pypi.org/project/opentelemetry-ext-otcollector/ -This library allows to export data to `OpenTelemetry Collector `_ , currently using OpenCensus receiver in Collector side. +This library allows to export data to `OpenTelemetry Collector`_ , currently using OpenCensus receiver in Collector side. Installation ------------ @@ -95,4 +95,4 @@ References ---------- * `OpenTelemetry Collector `_ -* `OpenTelemetry Project `_ +* `OpenTelemetry `_ diff --git a/tests/check_for_valid_readme.py b/tests/check_for_valid_readme.py index 00228e5fd7..661148eb78 100644 --- a/tests/check_for_valid_readme.py +++ b/tests/check_for_valid_readme.py @@ -49,4 +49,5 @@ def parse_args(): sys.exit(1) if all_readmes_found: print("All clear.") - print("No errors found but not all packages have a README.rst") + else: + print("No errors found but not all packages have a README.rst") diff --git a/tox.ini b/tox.ini index 52c82eba07..5495c582c3 100644 --- a/tox.ini +++ b/tox.ini @@ -188,6 +188,7 @@ deps = isort black psutil + readme_renderer commands_pre = python scripts/eachdist.py install --editable