Skip to content

Commit

Permalink
fix ruff complaints
Browse files Browse the repository at this point in the history
  • Loading branch information
pothiers committed Oct 30, 2024
1 parent ea0c447 commit 6f69c7c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions python/lsst/ts/logging_and_reporting/exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
import traceback


class BaseLogrepException(Exception):
class BaseLogrepError(Exception):
is_an_error_response = True
status_code = 400
error_message = "<NA>"
Expand Down Expand Up @@ -83,7 +83,7 @@ def to_dict(self):
}


class BadStatus(BaseLogrepException):
class StatusError(BaseLogrepError):
"""Non-200 HTTP status from API endpoint. Typically
this will occur when a URL query string parameter is passed a value with
a bad format. It may also be that the Service is broken.
Expand Down
2 changes: 1 addition & 1 deletion python/lsst/ts/logging_and_reporting/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
# in a Database or API query string.


class datetime_iter:
class DatetimeIter:
def __init__(self, start_datetime, stop_datetime, increment=None):
"""increment:: datetime.timedelta"""
self.start_datetime = start_datetime
Expand Down

0 comments on commit 6f69c7c

Please sign in to comment.