From bf97a8bd807cd7839476f63b79b5ae22ae075d5e Mon Sep 17 00:00:00 2001 From: Thomas Hu Date: Mon, 31 Aug 2020 11:41:56 -0400 Subject: [PATCH] Update README with accurate links (#294) * Update README with accurate links * force * format * format * last format --- Makefile | 2 +- README.md | 10 ++++++---- tests/test.py | 6 ++++-- 3 files changed, 11 insertions(+), 7 deletions(-) diff --git a/Makefile b/Makefile index 7eae04f4..fae2de1e 100644 --- a/Makefile +++ b/Makefile @@ -12,7 +12,7 @@ test: py.test tests/test.py --cov=codecov format: - black . --check + black . -v -t py38 --check --diff compare: hub compare $(shell git tag --sort=refname | tail -1)...master diff --git a/README.md b/README.md index 28d3b0f3..d3a4a306 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,5 @@ -Codecov Global Python Uploader +# Codecov Global Python Uploader + [![codecov.io](https://codecov.io/github/codecov/codecov-python/coverage.svg?branch=master)](https://codecov.io/github/codecov/codecov-python) ![PyPI](https://img.shields.io/pypi/v/codecov) [![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black) @@ -105,8 +106,9 @@ If you're seeing an **HTTP 400 error when uploading reports to S3**, make sure y [1]: https://codecov.io/support/ -[2]: https://community.codecov.io/ -[3]: https://twitter.com/codecov +[2]: https://docs.codecov.io/ +[3]: https://community.codecov.io/ +[4]: https://twitter.com/codecov ## Copyright @@ -114,4 +116,4 @@ If you're seeing an **HTTP 400 error when uploading reports to S3**, make sure y ## License -[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fcodecov%2Fcodecov-python.svg?type=large)](https://app.fossa.com/projects/git%2Bgithub.com%2Fcodecov%2Fcodecov-python?ref=badge_large) \ No newline at end of file +[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fcodecov%2Fcodecov-python.svg?type=large)](https://app.fossa.com/projects/git%2Bgithub.com%2Fcodecov%2Fcodecov-python?ref=badge_large) diff --git a/tests/test.py b/tests/test.py index 39ca23a9..d17a0f77 100644 --- a/tests/test.py +++ b/tests/test.py @@ -278,7 +278,7 @@ def test_send(self): gzip_worker.decompress(put.call_args[1]["data"]) + gzip_worker.flush() ) - assert u"tests/test.py".encode("utf-8") in reports + assert "tests/test.py".encode("utf-8") in reports def test_send_error(self): with patch("requests.post") as post: @@ -866,7 +866,9 @@ def test_ci_gitlab(self): ) def test_ci_github(self): self.set_env( - HOME="/", CODECOV_TOKEN="token", CODECOV_NAME="name", + HOME="/", + CODECOV_TOKEN="token", + CODECOV_NAME="name", ) self.fake_report() res = self.run_cli()