Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update minor updates (master) #280

Merged
merged 2 commits into from
Jan 7, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@ jobs:
mongo: true
lint: true
# renovate: datasource=conda depName=conda-forge/python
python-version: "3.13.0"
python-version: "3.13.1"
# renovate: datasource=pypi depName=ruff
ruff-version: "0.8.1"
ruff-version: "0.8.6"
2 changes: 1 addition & 1 deletion ampel/t3/stage/project/T3ChannelProjector.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def __init__(self, **kwargs) -> None:
self.add_func_projector("stock", journal_modifier.apply, first=True)

for key in ("t1", "t2"):
self.add_func_projector(key, self.channel_projection, first=True) # type: ignore[arg-type]
self.add_func_projector(key, self.channel_projection, first=True)


def overwrite_root_channel(self, v: Sequence[ChannelId]) -> None | Sequence[ChannelId]:
Expand Down
5 changes: 4 additions & 1 deletion ampel/test/test_AmpelContext.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@


def test_load_old_configids(mock_context: DevAmpelContext, ampel_logger):
""" This test unit might no longer be required or might need a rename """
"""
Configuration hashes stored via HashT2Config.alter are loaded from the
database when a new DevAmpelContext is instantiated
"""
unit_config = {"foo": 37}
mock_context.register_unit(DummyStateT2Unit)
pre_register_context = DevAmpelContext(
Expand Down
2 changes: 1 addition & 1 deletion ampel/test/test_T3ChannelProjector.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def test_single_channel(stock_doc: StockDocument, logger):
output_stock_doc = after["stock"]
assert output_stock_doc is not None
for field in "tag", "name", "channel":
assert not isinstance(output_stock_doc[field], str), f"stock.{field} must be a set" # type: ignore[literal-required]
assert not isinstance(output_stock_doc[field], str), f"stock.{field} must be a set"
assert output_stock_doc["channel"] == [target]
assert output_stock_doc["ts"] == {target: input_stock_doc["ts"][target]}

Expand Down
Loading