From bf0d31499c408f67e4387e018abd8140eb871669 Mon Sep 17 00:00:00 2001 From: Min RK Date: Thu, 23 Feb 2023 09:13:32 +0100 Subject: [PATCH] enable lint in config files `c = get_config() # noqa` fixes lint errors --- examples/jupyterhub_config_etcd.py | 2 ++ examples/jupyterhub_config_toml.py | 2 ++ 2 files changed, 4 insertions(+) diff --git a/examples/jupyterhub_config_etcd.py b/examples/jupyterhub_config_etcd.py index 42494ae0..e28f6395 100644 --- a/examples/jupyterhub_config_etcd.py +++ b/examples/jupyterhub_config_etcd.py @@ -8,6 +8,8 @@ requires jupyterhub 1.0.dev """ +c = get_config() # noqa + c.JupyterHub.proxy_class = "traefik_etcd" c.TraefikEtcdProxy.traefik_api_username = "admin" c.TraefikEtcdProxy.traefik_api_password = "admin" diff --git a/examples/jupyterhub_config_toml.py b/examples/jupyterhub_config_toml.py index 927ea54d..30207bcf 100644 --- a/examples/jupyterhub_config_toml.py +++ b/examples/jupyterhub_config_toml.py @@ -8,6 +8,8 @@ requires jupyterhub 1.0.dev """ +c = get_config() # noqa + c.JupyterHub.proxy_class = "traefik_file" c.TraefikFileProviderProxy.traefik_api_username = "admin" c.TraefikFileProviderProxy.traefik_api_password = "admin"