Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

updated black version to 20.8b1 #2769

Merged
merged 5 commits into from
Jan 4, 2021
Merged
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
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -225,3 +225,6 @@ examples/models/autoscaling/autoscaling_example.py

# vscode local history
.history/

# python venv
venv/
2 changes: 1 addition & 1 deletion python/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ push_conda:
@echo "Alternatively use anaconda upload to publish on own channel"

setup_linter:
pip install black==19.3b0
pip install black==20.8b1

fmt:
black \
Expand Down
2 changes: 1 addition & 1 deletion python/requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Test and linters
black==19.10b0
black==20.8b1
flake8==3.8.1
mypy<0.791
Pillow==8.0.1
Expand Down
6 changes: 4 additions & 2 deletions python/seldon_core/seldon_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -1241,7 +1241,8 @@ def rest_predict_seldon(
payload = seldon_message_to_json(request)

response_raw = requests.post(
"http://" + gateway_endpoint + "/api/v0.1/predictions", json=payload,
"http://" + gateway_endpoint + "/api/v0.1/predictions",
json=payload,
)
if response_raw.status_code == 200:
success = True
Expand Down Expand Up @@ -1920,7 +1921,8 @@ def rest_feedback_seldon(
payload = feedback_to_json(request)

response_raw = requests.post(
"http://" + gateway_endpoint + "/api/v1.0/feedback", json=payload,
"http://" + gateway_endpoint + "/api/v1.0/feedback",
json=payload,
)
if response_raw.status_code == 200:
success = True
Expand Down