Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ Features

Uplink officially supports Python 2.7 and 3.5+.

**Note:** Python 2.7 suport will be removed in v0.10.0.
**Note:** Python 2.7 support will be removed in v0.10.0.

.. |marshmallow| replace:: ``marshmallow``
.. |pydantic| replace:: ``pydantic``
Expand Down
2 changes: 1 addition & 1 deletion docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ Uplink officially supports Python 2.7 & 3.5+.

.. note::

Python 2.7 suport will be removed in v0.10.0.
Python 2.7 support will be removed in v0.10.0.

.. |marshmallow| replace:: ``marshmallow``
.. |requests-oauthlib| replace:: ``requests-oauthlib``
Expand Down
2 changes: 1 addition & 1 deletion examples/github-api/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ By: Kareem Moussa ([@itstehkman](https://github.com/itstehkman))
---

This is an example of using the uplink client. This is an API written in flask that gets the top
users who have commited in repositories matching a given keyword (in the name, readme, or description
users who have committed in repositories matching a given keyword (in the name, readme, or description
in the last month.

To try this out, first fill out keys.sh with your github api client id and client secret so that
Expand Down
6 changes: 3 additions & 3 deletions examples/github-api/Server.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ async def _repos_for_keyword(keyword):


async def _users_for_repo(user, repo_name, oldest_age=55):
""" Returns users that have commited in a repo in the last N weeks """
""" Returns users that have committed in a repo in the last N weeks """

since = (datetime.now() - timedelta(weeks=oldest_age)).isoformat()
r = await github.commits_for_repo(user, repo_name, since=since)
Expand Down Expand Up @@ -98,7 +98,7 @@ def users_for_repo(user, repo_name):
"""
/users/<user>/repo/<repo_name>[?oldest-age=<age in weeks>]

Returns list of users who have commited in the resource user/repo in the last given amount of
Returns list of users who have committed in the resource user/repo in the last given amount of
weeks """

oldest_age = (
Expand All @@ -114,7 +114,7 @@ def users_for_keyword():
"""
/users?keyword=<keyword>[?oldest-age=<age in weeks>]

Find the top users who have commited in repositories matching the keyword in the last month """
Find the top users who have committed in repositories matching the keyword in the last month """
if "keyword" not in request.args:
return "", 400

Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Configuration file for Tox, a general virtualenv managment tool.
# Configuration file for Tox, a general virtualenv management tool.
# Website (June 2016): http://tox.readthedocs.io/en/latest/

[testenv]
Expand Down
2 changes: 1 addition & 1 deletion uplink/auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ class MultiAuth(object):
api_consumer = SomeApiConsumerClass(BASE_URL, auth=auth_methods)

API library authors may find it more helpful to treat MultiAuth as
a list using ``append`` or ``extend`` to add aditional auth methods.
a list using ``append`` or ``extend`` to add additional auth methods.

.. code-block:: python

Expand Down
2 changes: 1 addition & 1 deletion uplink/builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def apply_hooks(self, execution_builder, chain):
# TODO:
# Instead of creating a TransactionChain, we could simply
# add each response and error handler in the chain to the
# execution builder. This would allow heterogenous response
# execution builder. This would allow heterogeneous response
# and error handlers. Right now, the TransactionChain
# enforces that all response/error handlers are blocking if
# any response/error handler is blocking, which is
Expand Down