apply pyupgrade fixes via ruff

ruff check --fix --select UP
This commit is contained in:
Min RK
2024-01-23 15:23:18 +01:00
parent 5e166970fa
commit e15b7c2620
18 changed files with 50 additions and 106 deletions

View File

@@ -25,6 +25,4 @@ import os
pg_pass = os.getenv('POSTGRES_ENV_JPY_PSQL_PASSWORD')
pg_host = os.getenv('POSTGRES_PORT_5432_TCP_ADDR')
c.JupyterHub.db_url = 'postgresql://jupyterhub:{}@{}:5432/jupyterhub'.format(
pg_pass, pg_host
)
c.JupyterHub.db_url = f'postgresql://jupyterhub:{pg_pass}@{pg_host}:5432/jupyterhub'