Skip to content
Closed
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
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ jobs:

strategy:
matrix:
python-version: ['3.9', '3.12']
python-version: ['3.10', '3.12']
# Test latest and oldest supported package versions
uv-resolution: ['lowest-direct', 'highest']
fail-fast: false
Expand Down
6 changes: 4 additions & 2 deletions aiidalab_widgets_base/wizard.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ def __init__(self, steps, show_header=True, **kwargs):
self.steps = steps

# Unzip the steps to titles and widgets.
self.titles, widgets = zip(*steps)
self.titles, widgets = zip(*steps, strict=True)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's this about?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.


# Initialize the accordion with the widgets ...
self.accordion = ipw.Accordion(children=widgets)
Expand Down Expand Up @@ -160,7 +160,9 @@ def show_header(self, value):
self.header.layout.display = "flex" if value else "none"

def _update_titles(self):
for i, (title, widget) in enumerate(zip(self.titles, self.accordion.children)):
for i, (title, widget) in enumerate(
zip(self.titles, self.accordion.children, strict=True)
):
icon = self.ICONS.get(widget.state, str(widget.state).upper())
self.accordion.set_title(i, f"{icon} Step {i + 1}: {title}")

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ filterwarnings = [
[tool.ruff]
line-length = 88
show-fixes = true
target-version = "py39"
target-version = "py310"


[tool.ruff.lint]
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ install_requires =
vapory~=0.1.2
ipython>=7.33,<9.0
pip>=25
python_requires = >=3.9
python_requires = >=3.10
include_package_data = True
zip_safe = False

Expand Down
Loading