From 520945db58b310a8c375c9af708d852f78467dff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20B=C3=BCschelberger?= Date: Mon, 25 Aug 2025 19:28:44 +0200 Subject: [PATCH 1/5] update boolean to bool --- dsms/knowledge/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dsms/knowledge/utils.py b/dsms/knowledge/utils.py index 6456adf..2001625 100644 --- a/dsms/knowledge/utils.py +++ b/dsms/knowledge/utils.py @@ -45,7 +45,7 @@ "Radio": "string", "Select": "string", "File": "string", - "Checkbox": "boolean", + "Checkbox": "bool", "Knowledge item": "anyURI", "VocabularyTerm": "anyURI", } From 0e23af52c9e1e5e52c637901f2afcf85fd3e4379 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20B=C3=BCschelberger?= Date: Mon, 25 Aug 2025 19:34:34 +0200 Subject: [PATCH 2/5] fix issue with bandit hook --- .pre-commit-config.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index f111db8..2353fc6 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -50,7 +50,8 @@ repos: - id: bandit args: ["-r"] files: ^(dsms)/.* - + additional_dependencies: + - "pbr==2.0.0" - repo: local hooks: - id: pylint From ed0b45a31ab0bc16ec9a18e3fd82fda46b433536 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20B=C3=BCschelberger?= Date: Mon, 25 Aug 2025 19:39:46 +0200 Subject: [PATCH 3/5] pin setuptools version --- .pre-commit-config.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 2353fc6..ba79b66 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -52,6 +52,8 @@ repos: files: ^(dsms)/.* additional_dependencies: - "pbr==2.0.0" + - "setuptools==65.5.1" + - repo: local hooks: - id: pylint From 460166ab653aeac9a8727506d845185042473f56 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20B=C3=BCschelberger?= Date: Mon, 25 Aug 2025 19:53:52 +0200 Subject: [PATCH 4/5] use different setuptools version --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index ba79b66..8df82cb 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -52,7 +52,7 @@ repos: files: ^(dsms)/.* additional_dependencies: - "pbr==2.0.0" - - "setuptools==65.5.1" + - "setuptools==80.9.0" - repo: local hooks: From 6671cfe296da8a48485a7813c80e2bfdc8b4d891 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20B=C3=BCschelberger?= Date: Mon, 25 Aug 2025 19:55:58 +0200 Subject: [PATCH 5/5] remove pin because of compatibility for different python version --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 8df82cb..6316dfb 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -52,7 +52,7 @@ repos: files: ^(dsms)/.* additional_dependencies: - "pbr==2.0.0" - - "setuptools==80.9.0" + - setuptools - repo: local hooks: