From b4fdb26034bbc93162a0edc60849a223d2106c22 Mon Sep 17 00:00:00 2001 From: mrbean-bremen Date: Tue, 1 Dec 2026 20:02:29 +0100 Subject: [PATCH 1/2] Do not use pinned dependency for blacken-docs - breaks updates by the pre-commit.ci bot - also update blacken-docs from 1.20.0 to 1.21.0 --- .pre-commit-config.yaml | 3 +-- docs/source/usage.rst | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 988df71..6460c13 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -15,10 +15,9 @@ repos: args: - --ignore-words-list=wronly,afile - repo: https://github.com/asottile/blacken-docs - rev: 1.20.0 + rev: 1.21.0 hooks: - id: blacken-docs - additional_dependencies: [ black==22.12.0 ] - repo: https://github.com/pre-commit/pre-commit-hooks rev: v6.0.0 hooks: diff --git a/docs/source/usage.rst b/docs/source/usage.rst index ac57b3b..42a9fea 100644 --- a/docs/source/usage.rst +++ b/docs/source/usage.rst @@ -540,8 +540,7 @@ of the concerned test modules: pytestmark = pytest.mark.order(1) - def test_1(): - ... + def test_1(): ... In this case, all tests in the module will have the same order marker. As the test order is not changed for tests with the same order number, the tests *inside* each module will be run From 50faa8abd0ca1b3780449356bde3ad2341938b3f Mon Sep 17 00:00:00 2001 From: mrbean-bremen Date: Tue, 1 Dec 2026 20:07:38 +0100 Subject: [PATCH 2/2] Do not run CI tests on any branch - try to reduce GH runner usage - CI needs an explicit PR --- .github/workflows/pythontests.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pythontests.yml b/.github/workflows/pythontests.yml index b5dc434..5136085 100644 --- a/.github/workflows/pythontests.yml +++ b/.github/workflows/pythontests.yml @@ -1,7 +1,10 @@ name: Testsuite on: - [push, pull_request] + push: + branches: + - main + pull_request: defaults: run: