Skip to content

Commit

Permalink
Make linter happy again
Browse files Browse the repository at this point in the history
  • Loading branch information
athornton committed Dec 12, 2023
1 parent 39e5fdc commit b3af5da
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/lsst/rsp/catalog.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ def get_obstap_service() -> pyvo.dal.TAPService:

def get_tap_service(*args: str) -> pyvo.dal.TAPService:
"""Returns a TAP service instance to interact with the
requested TAP service."""
requested TAP service.
"""
if len(args) == 0:
warnings.warn(
'get_tap_service() is deprecated, use get_tap_service("tap")',
Expand Down
3 changes: 3 additions & 0 deletions src/lsst/rsp/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
from typing import Any, Optional, Union

import bokeh.io
import pyvo
import requests
from deprecated import deprecated


Expand Down Expand Up @@ -46,6 +48,7 @@ def get_hostname() -> str:


def get_service_url(name: str, env_name: Optional[str] = None) -> str:
"""Get our best guess at the URL for the requested service."""
if not env_name:
env_name = name.upper()

Expand Down

0 comments on commit b3af5da

Please sign in to comment.