From a64784ed0f71240e1bfba1536d553dd6efd856f0 Mon Sep 17 00:00:00 2001 From: Tatu Aalto Date: Fri, 16 Jan 2026 15:23:29 +0200 Subject: [PATCH 1/3] feat: lint fixes --- src/robotlibcore/__init__.py | 6 +++--- src/robotlibcore/utils/__init__.py | 2 +- utest/test_robotlibcore.py | 5 ++--- 3 files changed, 6 insertions(+), 7 deletions(-) diff --git a/src/robotlibcore/__init__.py b/src/robotlibcore/__init__.py index 3286c2d..c0b88a0 100644 --- a/src/robotlibcore/__init__.py +++ b/src/robotlibcore/__init__.py @@ -33,10 +33,10 @@ "HybridCore", "KeywordBuilder", "KeywordSpecification", - "PluginParser", - "keyword", + "Module", "NoKeywordFound", "PluginError", + "PluginParser", "PythonLibCoreException", - "Module", + "keyword", ] diff --git a/src/robotlibcore/utils/__init__.py b/src/robotlibcore/utils/__init__.py index 609b6b4..697e8a4 100644 --- a/src/robotlibcore/utils/__init__.py +++ b/src/robotlibcore/utils/__init__.py @@ -25,4 +25,4 @@ class Module: kw_args: dict -__all__ = ["Module", "NoKeywordFound", "PluginError", "PythonLibCoreException", "_translation", "_translated_keywords"] +__all__ = ["Module", "NoKeywordFound", "PluginError", "PythonLibCoreException", "_translated_keywords", "_translation"] diff --git a/utest/test_robotlibcore.py b/utest/test_robotlibcore.py index b81d982..769f3be 100644 --- a/utest/test_robotlibcore.py +++ b/utest/test_robotlibcore.py @@ -105,12 +105,11 @@ def test_library_cannot_be_class(): HybridCore([HybridLibrary]) assert str(exc_info.value) == "Libraries must be modules or instances, got class 'HybridLibrary' instead." + def test_get_library_attr(): class TestClass(HybridCore): def __init__(self): - self.a = self.b *2 - super().__init__() + self.a = self.b * 2 with pytest.raises(AttributeError): TestClass() - From 0163df5853039720df04044940ddebba1a3cb2fb Mon Sep 17 00:00:00 2001 From: Tatu Aalto Date: Fri, 16 Jan 2026 15:28:16 +0200 Subject: [PATCH 2/3] ci: robotstatuschecker api change fix --- atest/run.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/atest/run.py b/atest/run.py index 8491ca2..feb05f6 100755 --- a/atest/run.py +++ b/atest/run.py @@ -35,7 +35,7 @@ ) if rc > 250: sys.exit(rc) - process_output(output, verbose=False) + process_output(output) output = join( outdir, "lib-DynamicTypesLibrary-python-{}-robot-{}.xml".format(python_version, RF_VERSION), @@ -52,12 +52,12 @@ ) if rc > 250: sys.exit(rc) -process_output(output, verbose=False) +process_output(output) output = join(outdir, "lib-PluginApi-python-{}-robot-{}.xml".format(python_version, RF_VERSION)) rc = run(plugin_api, name="Plugin", output=output, report=None, log=None, loglevel="debug") if rc > 250: sys.exit(rc) -process_output(output, verbose=False) +process_output(output) print("\nCombining results.") library_variants.append("DynamicTypesLibrary") xml_files = [str(xml_file) for xml_file in Path(outdir).glob("*.xml")] From b721c2486cf2c49019d8df1a5cbc3bc2b58a4251 Mon Sep 17 00:00:00 2001 From: Tatu Aalto Date: Fri, 16 Jan 2026 15:29:45 +0200 Subject: [PATCH 3/3] ci: bump Python and RF versions --- .github/workflows/CI.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 11f54d7..72b56e4 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -14,8 +14,8 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: [3.8, 3.12] - rf-version: [5.0.1, 7.0.1] + python-version: [3.10.19, 3.14] + rf-version: [6.1.1, 7.4.1] steps: - uses: actions/checkout@v4