Skip to content

Commit

Permalink
Release 0.9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
albireox committed Jan 9, 2025
1 parent 173e911 commit 05eb6eb
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 30 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Changelog

## Next version
## 1.3.0 - January 9, 2025

### 🚀 New

Expand Down
4 changes: 2 additions & 2 deletions cerebro/observer.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ class Observer(RXObserver, metaclass=abc.ABCMeta):
def __init__(self, name: str):
if self.observer_type is None:
raise ValueError(
"observer_type is not defined for " f"class {self.__class__.__name__}."
f"observer_type is not defined for class {self.__class__.__name__}."
)

super().__init__(on_next=self.on_next)
Expand Down Expand Up @@ -102,7 +102,7 @@ def __init__(
if "INFLUXDB_V2_TOKEN" in os.environ:
token = os.environ["INFLUXDB_V2_TOKEN"]
else:
raise ValueError("Token not provided or " "found in INFLUXDB_V2_TOKEN")
raise ValueError("Token not provided or found in INFLUXDB_V2_TOKEN")

# Establish connection to InfluxDB
self.client = InfluxDBClient(url=url, token=token, org=org)
Expand Down
3 changes: 1 addition & 2 deletions cerebro/sources/tron.py
Original file line number Diff line number Diff line change
Expand Up @@ -377,8 +377,7 @@ async def schedule_command(self, command: str, interval: float | None = None):
try:
if not self.client.transport or self.client.connected is False:
log.error(
f"{self.name}: actor has disconnected; "
"will try to reconnect."
f"{self.name}: actor has disconnected; will try to reconnect."
)
# The reconnecting protocol should take care of this.
elif self.client.transport:
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "sdss-cerebro"
version = "1.2.2a0"
version = "1.3.0"
description = "Telemetry management and time series for SDSS-V"
authors = [ { name = "José Sánchez-Gallego", email = "gallegoj@uw.edu" } ]
license = "BSD-3-Clause"
Expand Down Expand Up @@ -48,7 +48,7 @@ dev = [
"coverage[toml]>=5.0",
"ipdb>=0.12.3",
"myst-parser>=0.14.0",
"ruff>=0.1.0",
"ruff>=0.9.0",
]

[tool.ruff]
Expand Down
46 changes: 23 additions & 23 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 05eb6eb

Please sign in to comment.