From dd941af72242d82b3adbf248d5ec46504fbed4b5 Mon Sep 17 00:00:00 2001 From: Kallinteris Andreas <30759571+Kallinteris-Andreas@users.noreply.github.com> Date: Fri, 11 Oct 2024 06:03:04 +0300 Subject: [PATCH 1/7] Update pre-commit.yml --- .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 cbe3d343..05548c63 100644 --- a/.github/workflows/pre-commit.yml +++ b/.github/workflows/pre-commit.yml @@ -15,7 +15,7 @@ jobs: steps: - uses: actions/checkout@v3 - uses: actions/setup-python@v4 - - run: python -m pip install pre-commit + - run: python -m pip install pre-commit --break-system-packages - run: python -m pre_commit --version - run: python -m pre_commit install - run: python -m pre_commit run --all-files From 302e8da38ef0b95a80742059d81ac1136f85512c Mon Sep 17 00:00:00 2001 From: Kallinteris Andreas <30759571+Kallinteris-Andreas@users.noreply.github.com> Date: Fri, 11 Oct 2024 08:45:27 +0300 Subject: [PATCH 2/7] Update pre-commit.yml --- .github/workflows/pre-commit.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml index 05548c63..71433071 100644 --- a/.github/workflows/pre-commit.yml +++ b/.github/workflows/pre-commit.yml @@ -13,8 +13,8 @@ jobs: pre-commit: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-python@v4 + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 - run: python -m pip install pre-commit --break-system-packages - run: python -m pre_commit --version - run: python -m pre_commit install From f134d083626dd34db2d4452fb984d81a91c8574f Mon Sep 17 00:00:00 2001 From: Kallinteris Andreas <30759571+Kallinteris-Andreas@users.noreply.github.com> Date: Fri, 11 Oct 2024 08:52:22 +0300 Subject: [PATCH 3/7] Update pre-commit.yml --- .github/workflows/pre-commit.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml index 71433071..e59074d6 100644 --- a/.github/workflows/pre-commit.yml +++ b/.github/workflows/pre-commit.yml @@ -15,7 +15,7 @@ jobs: steps: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 - - run: python -m pip install pre-commit --break-system-packages - - run: python -m pre_commit --version - - run: python -m pre_commit install - - run: python -m pre_commit run --all-files + - run: pipx install pre-commit + - run: pre-commit --version + - run: pre-commit install + - run: pre-commit run --all-files From 90ed26927fbfed7e7996b9312f939bf5af6cc9d6 Mon Sep 17 00:00:00 2001 From: Kallinteris Andreas <30759571+Kallinteris-Andreas@users.noreply.github.com> Date: Fri, 11 Oct 2024 08:54:08 +0300 Subject: [PATCH 4/7] Update pre-commit.yml --- .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 e59074d6..edb6ba20 100644 --- a/.github/workflows/pre-commit.yml +++ b/.github/workflows/pre-commit.yml @@ -17,5 +17,5 @@ jobs: - uses: actions/setup-python@v5 - run: pipx install pre-commit - run: pre-commit --version - - run: pre-commit install + # - run: pre-commit install - run: pre-commit run --all-files From 7e5660877d341ea06874226db89241484dd7e06c Mon Sep 17 00:00:00 2001 From: Kallinteris Andreas <30759571+Kallinteris-Andreas@users.noreply.github.com> Date: Fri, 11 Oct 2024 09:07:50 +0300 Subject: [PATCH 5/7] Update .pre-commit-config.yaml --- .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 38f51360..bee4a8f0 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -11,7 +11,7 @@ repos: args: - --ignore-words-list=nd,reacher,thist,ths, arry - repo: https://github.com/pycqa/flake8 - rev: 4.0.1 + rev: 7.1.1 hooks: - id: flake8 args: From 3954f4a4460e0119481ced6cc1562f6f7ffe7ff2 Mon Sep 17 00:00:00 2001 From: Kallinteris Andreas <30759571+Kallinteris-Andreas@users.noreply.github.com> Date: Fri, 11 Oct 2024 09:09:07 +0300 Subject: [PATCH 6/7] Update pre-commit.yml --- .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 edb6ba20..e59074d6 100644 --- a/.github/workflows/pre-commit.yml +++ b/.github/workflows/pre-commit.yml @@ -17,5 +17,5 @@ jobs: - uses: actions/setup-python@v5 - run: pipx install pre-commit - run: pre-commit --version - # - run: pre-commit install + - run: pre-commit install - run: pre-commit run --all-files From 1fd8eaeccefdfe7658c1961b81712b375d1205af Mon Sep 17 00:00:00 2001 From: Kallinteris Andreas <30759571+Kallinteris-Andreas@users.noreply.github.com> Date: Fri, 11 Oct 2024 09:11:19 +0300 Subject: [PATCH 7/7] Update utils.py --- tests/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/utils.py b/tests/utils.py index 6eaeccd7..a86a9367 100644 --- a/tests/utils.py +++ b/tests/utils.py @@ -17,7 +17,7 @@ def assert_equals(a, b, prefix=None): b: second data structure prefix: prefix for failed assertion message for types and dicts """ - assert type(a) == type(b), f"{prefix}Differing types: {a} and {b}" + assert type(a) is type(b), f"{prefix}Differing types: {a} and {b}" if isinstance(a, dict): assert list(a.keys()) == list(b.keys()), f"{prefix}Key sets differ: {a} and {b}"