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

Fix formatting issues with black #1003 #1020

Merged
merged 4 commits into from
Feb 3, 2022
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
10 changes: 5 additions & 5 deletions qhub/deploy.py
Original file line number Diff line number Diff line change
Expand Up @@ -429,12 +429,12 @@ def _attempt_tcp_connect(host, port, num_attempts=3, timeout=5):
return False

tcp_ports = {
80, # http
80, # http
443, # https
8022, # jupyterhub-ssh ssh
8023, # jupyterhub-ssh sftp
9080, # minio
8786, # dask-scheduler
8022, # jupyterhub-ssh ssh
8023, # jupyterhub-ssh sftp
9080, # minio
8786, # dask-scheduler
}
ip_or_name = stage_outputs[directory]["load_balancer_address"]["value"]
host = ip_or_name["hostname"] or ip_or_name["ip"]
Expand Down
1 change: 1 addition & 0 deletions qhub/keycloak.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
def do_keycloak(config_filename, *args):
# supress insecure warnings
import urllib3

urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning)

keycloak_admin = get_keycloak_admin_from_config(config_filename)
Expand Down
3 changes: 2 additions & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[flake8]
ignore = E203, E266, E501, W503
max-line-length = 89
builtins = c
exclude =
.git,
__pycache__,
Expand All @@ -9,4 +10,4 @@ exclude =
build
dist
docs
home
home