diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index b0daa65..6379482 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -8,7 +8,7 @@ on: [push] # runs-on: ubuntu-latest # strategy: # matrix: -# python-version: ["3.10", "3.11"] +# python-version: ["3.11", "3.12", "3.13"] # steps: # - uses: actions/checkout@v3 # - name: Set up Python ${{ matrix.python-version }} @@ -22,7 +22,7 @@ on: [push] # key: poetry-1.6.1 # - uses: snok/install-poetry@v1 # with: -# version: 1.6.1 +# version: 1.8.1 # virtualenvs-create: true # virtualenvs-in-project: true # installer-parallel: true @@ -62,7 +62,7 @@ jobs: strategy: fail-fast: true matrix: - python-version: [ "3.10", "3.11" ] + python-version: [ "3.11", "3.12", "3.13" ] runs-on: ubuntu-latest steps: - name: Check out repository @@ -75,7 +75,7 @@ jobs: - name: Install Poetry uses: snok/install-poetry@v1 with: - version: 1.6.1 + version: 1.8.1 virtualenvs-create: true virtualenvs-in-project: true - name: Load cached venv diff --git a/pyproject.toml b/pyproject.toml index 495ef5d..c8eb5ad 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -47,7 +47,6 @@ select = [ ignore = [ "C901", # "complexity" category "PLR", # "refactoring" category has "too many lines in method" type stuff - "PLC1901", "PLE1205" # saw this Too many arguments for `logging` format string give a false positive once ] diff --git a/src/spiffworkflow_proxy/plugin_service.py b/src/spiffworkflow_proxy/plugin_service.py index cbcef99..f39fcac 100644 --- a/src/spiffworkflow_proxy/plugin_service.py +++ b/src/spiffworkflow_proxy/plugin_service.py @@ -76,7 +76,7 @@ def command_named(plugin_display_name: str, command_name: str) -> type[Connector return available_commands_by_plugin[plugin_name][command_name] except Exception: return None - + @staticmethod def modules_for_plugin_in_package( plugin: types.ModuleType, package_name: str | None diff --git a/tests/mock_connectors/connector-example/src/connector_example/commands/combine_strings.py b/tests/mock_connectors/connector-example/src/connector_example/commands/combine_strings.py index 57de19a..df93265 100644 --- a/tests/mock_connectors/connector-example/src/connector_example/commands/combine_strings.py +++ b/tests/mock_connectors/connector-example/src/connector_example/commands/combine_strings.py @@ -3,7 +3,6 @@ from spiffworkflow_connector_command.command_interface import CommandResponseDict from spiffworkflow_connector_command.command_interface import ConnectorCommand -from spiffworkflow_connector_command.command_interface import ConnectorProxyResponseDict class CombineStrings(ConnectorCommand): @@ -22,7 +21,7 @@ def __init__( def execute(self, config: Any, task_data: Any) -> CommandResponseDict: """Execute.""" - + return { "body": { "command_response": {