Skip to content

Commit

Permalink
Version bump to 1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
pyasi committed May 20, 2020
1 parent bd31d11 commit 6f48ada
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,5 @@ pyvenv.cfg
coverage/*
.pytest_cache/*
Pipfile
coverage.xml
coverage.xml
package_and_upload.sh
7 changes: 5 additions & 2 deletions pybuildkite/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,11 @@ def request(
if with_pagination:
response = self._get_paginated_response(response)
return response
if (method == "DELETE" or response.status_code == 204 or
response.headers.get('content-type') is None):
if (
method == "DELETE"
or response.status_code == 204
or response.headers.get("content-type") is None
):
return response.ok
if headers.get("Accept") is None or headers.get("Accept") == "application/json":
return response.json()
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

setuptools.setup(
name="pybuildkite",
version="0.0.6",
version="1.0.0",
url="https://github.com/pyasi/pybuildkite",
download_url="https://github.com/pyasi/pybuildkite/archive/master.zip",
author="Peter Yasi",
Expand Down

0 comments on commit 6f48ada

Please sign in to comment.