From 06d870918bd43aeb4a2aefc2d5c47b11643c5e19 Mon Sep 17 00:00:00 2001 From: Thomas Hu Date: Wed, 26 Aug 2020 18:45:56 -0400 Subject: [PATCH 1/5] Update README with accurate links --- README.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) 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) From 6afde72a0c06a812e270e737320a114932fccafd Mon Sep 17 00:00:00 2001 From: Thomas Hu Date: Wed, 26 Aug 2020 22:01:15 -0400 Subject: [PATCH 2/5] force From b045710097dde289f355f1a1e7f79839f7385a52 Mon Sep 17 00:00:00 2001 From: Thomas Hu Date: Wed, 26 Aug 2020 22:17:55 -0400 Subject: [PATCH 3/5] format --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 7eae04f4..c7d6139b 100644 --- a/Makefile +++ b/Makefile @@ -12,7 +12,7 @@ test: py.test tests/test.py --cov=codecov format: - black . --check + black . --check -v -t py38 compare: hub compare $(shell git tag --sort=refname | tail -1)...master From cb4cfd7d9d00dba27f57aa2ad4611901b5398c3b Mon Sep 17 00:00:00 2001 From: Thomas Hu Date: Wed, 26 Aug 2020 22:22:00 -0400 Subject: [PATCH 4/5] format --- Makefile | 2 +- tests/test.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index c7d6139b..fae2de1e 100644 --- a/Makefile +++ b/Makefile @@ -12,7 +12,7 @@ test: py.test tests/test.py --cov=codecov format: - black . --check -v -t py38 + black . -v -t py38 --check --diff compare: hub compare $(shell git tag --sort=refname | tail -1)...master diff --git a/tests/test.py b/tests/test.py index 39ca23a9..0ef9198a 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: From ab4f15d5641c9502436ee4099bd68f3778e26bd4 Mon Sep 17 00:00:00 2001 From: Thomas Hu Date: Wed, 26 Aug 2020 22:36:36 -0400 Subject: [PATCH 5/5] last format --- tests/test.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/test.py b/tests/test.py index 0ef9198a..d17a0f77 100644 --- a/tests/test.py +++ b/tests/test.py @@ -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()