Skip to content
Open
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/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ jobs:
- name: 📦 Check out source repository
uses: actions/checkout@v2
- name: 📦 Set up Python environment
uses: actions/setup-python@v1
uses: actions/setup-python@v5
with:
python-version: "3.8"
python-version: "3.10"
- name: ✅ flake8 Lint
continue-on-error: true
uses: py-actions/flake8@v1
Expand Down
6 changes: 1 addition & 5 deletions custom_components/opencwb/config_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class OpenCWBConfigFlow(config_entries.ConfigFlow, domain=DOMAIN):
@callback
def async_get_options_flow(config_entry):
"""Get the options flow for this handler."""
return OpenCWBOptionsFlow(config_entry)
return OpenCWBOptionsFlow()

async def async_step_user(self, user_input=None):
"""Handle a flow initialized by the user."""
Expand Down Expand Up @@ -111,10 +111,6 @@ async def async_step_user(self, user_input=None):
class OpenCWBOptionsFlow(config_entries.OptionsFlow):
"""Handle options."""

def __init__(self, config_entry):
"""Initialize options flow."""
self.config_entry = config_entry

async def async_step_init(self, user_input=None):
"""Manage the options."""
if user_input is not None:
Expand Down
Loading