Skip to content

Commit

Permalink
enable lint in config files
Browse files Browse the repository at this point in the history
`c = get_config() # noqa` fixes lint errors
  • Loading branch information
minrk committed Feb 23, 2023
1 parent fec2918 commit bf0d314
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions examples/jupyterhub_config_etcd.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 2 additions & 0 deletions examples/jupyterhub_config_toml.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit bf0d314

Please sign in to comment.