Skip to content
This repository has been archived by the owner on Apr 20, 2023. It is now read-only.

Commit

Permalink
Remove token restrictions
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasrockhu committed Aug 20, 2020
1 parent 066706e commit 971d761
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 14 deletions.
12 changes: 7 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
Codecov Global Python Uploader ![PyPI](https://img.shields.io/pypi/v/codecov) [![codecov.io](https://codecov.io/github/codecov/codecov-python/coverage.svg?branch=master)](https://codecov.io/github/codecov/codecov-python) [![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
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)
=======
| [https://codecov.io/][1] | [https://community.codecov.io/][2] | [@codecov][3] | [[email protected]][4] |
| ------------------------ | ---------------------------------- | ------------- | --------------------- |
| [Support][1] | [Documentation][2] | [Community Boards][3] | [Twitter][4] |
| ------------ | ------------------ | --------------------- | ------------ |

Find coverage reports for all the [languages below](#languages), gather them and submit them to Codecov.

Expand Down Expand Up @@ -100,10 +103,9 @@ If you're seeing an **HTTP 400 error when uploading reports to S3**, make sure y



[1]: https://codecov.io/
[1]: https://codecov.io/support/
[2]: https://community.codecov.io/
[3]: https://twitter.com/codecov
[4]: mailto:[email protected]

## Copyright

Expand Down
9 changes: 0 additions & 9 deletions codecov/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -953,8 +953,6 @@ def main(*argv, **kwargs):
if _slug:
query["slug"] = _slug.groups()[1]

assert query.get("job") or query.get("token"), "Missing repository upload token"

# Processing gcov
# ---------------
if "gcov" in codecov.disable:
Expand Down Expand Up @@ -1189,13 +1187,6 @@ def main(*argv, **kwargs):
"Tip: See all example repositories: https://github.com/codecov?query=example"
)

write("Support channels:", "green")
write(
" Email: [email protected]\n"
" IRC: #codecov\n"
" Gitter: https://gitter.im/codecov/support\n"
" Twitter: @codecov\n"
)
sys.exit(1 if codecov.required else 0)

else:
Expand Down

0 comments on commit 971d761

Please sign in to comment.