From 1a921a5dc9c0d0d7edd6f5c66fe96c975a2e7984 Mon Sep 17 00:00:00 2001 From: tmadlener Date: Thu, 12 Oct 2023 17:25:09 +0200 Subject: [PATCH 1/2] CI: Bump pylint version --- .github/workflows/pre-commit.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml index 70d60a73b..d22047cbf 100644 --- a/.github/workflows/pre-commit.yml +++ b/.github/workflows/pre-commit.yml @@ -25,7 +25,7 @@ jobs: # fails git config --global --add safe.directory $(pwd) pip install pre-commit - pip install pylint==2.12.2 + pip install pylint==2.17.7 pip install flake8 echo "::endgroup::" echo "::group::Run CMake" From ce9adcbb034c446faa1fc431d986c9f0922fc9be Mon Sep 17 00:00:00 2001 From: tmadlener Date: Thu, 12 Oct 2023 19:32:02 +0200 Subject: [PATCH 2/2] Fix minor pylint issue --- python/podio/EventStore.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/python/podio/EventStore.py b/python/podio/EventStore.py index d2df33cbe..068027aa4 100644 --- a/python/podio/EventStore.py +++ b/python/podio/EventStore.py @@ -55,8 +55,7 @@ def __init__(self, filenames): def __str__(self): result = "Content:" - for item in self.current_store.getCollectionNames(): - result += f"\n\t{item}" + result += "\n\t".join(n for n in self.current_store.getCollectionNames()) return result def get(self, name):