From 18f3c1fd87b9068180f54bd493a1894a72205eb6 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 23 Dec 2024 03:17:54 +0000 Subject: [PATCH 01/15] chore(deps): bump github/codeql-action from 3.27.4 to 3.27.9 (#853) --- .github/workflows/codeql-analysis.yaml | 4 ++-- .github/workflows/scorecards-analysis.yaml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/codeql-analysis.yaml b/.github/workflows/codeql-analysis.yaml index 822a4ae0..b93a5178 100644 --- a/.github/workflows/codeql-analysis.yaml +++ b/.github/workflows/codeql-analysis.yaml @@ -58,7 +58,7 @@ jobs: # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL - uses: github/codeql-action/init@ea9e4e37992a54ee68a9622e985e60c8e8f12d9f # v3.27.4 + uses: github/codeql-action/init@df409f7d9260372bd5f19e5b04e83cb3c43714ae # v3.27.9 with: languages: ${{ matrix.language }} config-file: .github/codeql/codeql-config.yaml @@ -71,4 +71,4 @@ jobs: # queries: ./path/to/local/query, your-org/your-repo/queries@main - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@ea9e4e37992a54ee68a9622e985e60c8e8f12d9f # v3.27.4 + uses: github/codeql-action/analyze@df409f7d9260372bd5f19e5b04e83cb3c43714ae # v3.27.9 diff --git a/.github/workflows/scorecards-analysis.yaml b/.github/workflows/scorecards-analysis.yaml index e14b86f6..5392e241 100644 --- a/.github/workflows/scorecards-analysis.yaml +++ b/.github/workflows/scorecards-analysis.yaml @@ -59,6 +59,6 @@ jobs: # Upload the results to GitHub's code scanning dashboard. - name: Upload to code-scanning - uses: github/codeql-action/upload-sarif@ea9e4e37992a54ee68a9622e985e60c8e8f12d9f # v3.27.4 + uses: github/codeql-action/upload-sarif@df409f7d9260372bd5f19e5b04e83cb3c43714ae # v3.27.9 with: sarif_file: results.sarif From e22f89008186e80733b238f3d57b36faa5d80cca Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 23 Dec 2024 03:18:13 +0000 Subject: [PATCH 02/15] chore(deps): update hypothesis requirement from <6.119.4,>=6.21.0 to >=6.21.0,<6.122.4 (#846) --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 979613de..45a750cc 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -61,7 +61,7 @@ hooks = [ ] # Note that the `custom_exit_code` and `env` plugins may currently be unmaintained. test = [ - "hypothesis >=6.21.0,<6.119.4", + "hypothesis >=6.21.0,<6.122.4", "pytest >=7.2.0,<9.0.0", "pytest-custom_exit_code ==0.3.0", "pytest-cov ==6.0.0", From 494bd25d2467f4306e011cfcfa735e396ff31aed Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 23 Dec 2024 03:18:31 +0000 Subject: [PATCH 03/15] chore(deps): bump pytest-doctestplus from 1.2.1 to 1.3.0 (#842) --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 45a750cc..0ae071d3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -65,7 +65,7 @@ test = [ "pytest >=7.2.0,<9.0.0", "pytest-custom_exit_code ==0.3.0", "pytest-cov ==6.0.0", - "pytest-doctestplus ==1.2.1", + "pytest-doctestplus ==1.3.0", "pytest-env ==1.1.5", ] From 6efb009590c5492e7866f157c9fc089bdb00d8d1 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 23 Dec 2024 03:19:07 +0000 Subject: [PATCH 04/15] chore(deps): bump step-security/harden-runner from 2.10.1 to 2.10.2 (#839) --- .github/workflows/_build.yaml | 2 +- .github/workflows/_generate-rebase.yaml | 2 +- .github/workflows/_wiki-documentation.yaml | 2 +- .github/workflows/codeql-analysis.yaml | 2 +- .github/workflows/release.yaml | 6 +++--- .github/workflows/scorecards-analysis.yaml | 2 +- 6 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/_build.yaml b/.github/workflows/_build.yaml index d897e282..606a8610 100644 --- a/.github/workflows/_build.yaml +++ b/.github/workflows/_build.yaml @@ -55,7 +55,7 @@ jobs: steps: - name: Harden Runner - uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1 + uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2 with: egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs disable-sudo: true diff --git a/.github/workflows/_generate-rebase.yaml b/.github/workflows/_generate-rebase.yaml index 53111436..b8a36ed9 100644 --- a/.github/workflows/_generate-rebase.yaml +++ b/.github/workflows/_generate-rebase.yaml @@ -34,7 +34,7 @@ jobs: steps: - name: Harden Runner - uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1 + uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2 with: egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs diff --git a/.github/workflows/_wiki-documentation.yaml b/.github/workflows/_wiki-documentation.yaml index 95590a52..52d520a7 100644 --- a/.github/workflows/_wiki-documentation.yaml +++ b/.github/workflows/_wiki-documentation.yaml @@ -41,7 +41,7 @@ jobs: steps: - name: Harden Runner - uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1 + uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2 with: egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs disable-sudo: true diff --git a/.github/workflows/codeql-analysis.yaml b/.github/workflows/codeql-analysis.yaml index b93a5178..0f60ecfe 100644 --- a/.github/workflows/codeql-analysis.yaml +++ b/.github/workflows/codeql-analysis.yaml @@ -37,7 +37,7 @@ jobs: steps: - name: Harden Runner - uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1 + uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2 with: egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs disable-sudo: true diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 80486818..22d6abcd 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -30,7 +30,7 @@ jobs: steps: - name: Harden Runner - uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1 + uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2 with: egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs disable-sudo: true @@ -98,7 +98,7 @@ jobs: steps: - name: Harden Runner - uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1 + uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2 with: egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs disable-sudo: true @@ -199,7 +199,7 @@ jobs: steps: - name: Harden Runner - uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1 + uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2 with: egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs disable-sudo: true diff --git a/.github/workflows/scorecards-analysis.yaml b/.github/workflows/scorecards-analysis.yaml index 5392e241..9deffbad 100644 --- a/.github/workflows/scorecards-analysis.yaml +++ b/.github/workflows/scorecards-analysis.yaml @@ -26,7 +26,7 @@ jobs: steps: - name: Harden Runner - uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1 + uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2 with: egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs disable-sudo: true From 27369e7f5584407ae893e659185519a5baf9cf29 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 23 Dec 2024 03:20:07 +0000 Subject: [PATCH 05/15] chore(deps): bump twine from 5.1.1 to 6.0.1 (#841) --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 0ae071d3..5534cb94 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -42,7 +42,7 @@ something = "package.__main__:main" # installed. Make sure to keep the requirements in sync with the workflows! actions = [ "commitizen ==3.31.0", - "twine ==5.1.1", + "twine ==6.0.1", ] dev = [ "flit >=3.2.0,<4.0.0", From 32132b6125b220ebfe1fae306bb50f0efa1590bf Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 26 Dec 2024 08:49:27 +0000 Subject: [PATCH 06/15] chore(deps): bump commitizen from 3.31.0 to 4.1.0 (#845) --- .github/workflows/pr-conventional-commits.yaml | 2 +- .github/workflows/release.yaml | 4 ++-- .pre-commit-config.yaml | 2 +- pyproject.toml | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/pr-conventional-commits.yaml b/.github/workflows/pr-conventional-commits.yaml index 2769d830..ba850cf2 100644 --- a/.github/workflows/pr-conventional-commits.yaml +++ b/.github/workflows/pr-conventional-commits.yaml @@ -36,7 +36,7 @@ jobs: - name: Set up Commitizen run: | pip install --upgrade pip wheel - pip install 'commitizen ==3.31.0' + pip install 'commitizen ==4.1.0' # Run Commitizen to check the title of the PR which triggered this workflow, and check # all commit messages of the PR's branch. If any of the checks fails then this job fails. diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 22d6abcd..3df445ef 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -49,7 +49,7 @@ jobs: - name: Set up Commitizen run: | pip install --upgrade pip wheel - pip install 'commitizen ==3.31.0' + pip install 'commitizen ==4.1.0' - name: Set up user run: | @@ -133,7 +133,7 @@ jobs: - name: Set up Commitizen run: | pip install --upgrade pip wheel - pip install 'commitizen ==3.31.0' + pip install 'commitizen ==4.1.0' - name: Create Release Notes run: cz changelog --dry-run "$(cz version --project)" > RELEASE_NOTES.md diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b1789120..410160f2 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -15,7 +15,7 @@ repos: # Commitizen enforces semantic and conventional commit messages. - repo: https://github.com/commitizen-tools/commitizen - rev: v3.31.0 + rev: v4.1.0 hooks: - id: commitizen name: Check conventional commit message diff --git a/pyproject.toml b/pyproject.toml index 5534cb94..3e0eb194 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -41,7 +41,7 @@ something = "package.__main__:main" # We keep them listed here to ensure the infrastructure BOM is consistent with what's # installed. Make sure to keep the requirements in sync with the workflows! actions = [ - "commitizen ==3.31.0", + "commitizen ==4.1.0", "twine ==6.0.1", ] dev = [ From 384ce5b79a440fffda08900146be36cb28e57ced Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 26 Dec 2024 08:50:25 +0000 Subject: [PATCH 07/15] chore(deps): bump github/codeql-action from 3.27.9 to 3.28.0 (#854) --- .github/workflows/codeql-analysis.yaml | 4 ++-- .github/workflows/scorecards-analysis.yaml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/codeql-analysis.yaml b/.github/workflows/codeql-analysis.yaml index 0f60ecfe..e3c1e464 100644 --- a/.github/workflows/codeql-analysis.yaml +++ b/.github/workflows/codeql-analysis.yaml @@ -58,7 +58,7 @@ jobs: # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL - uses: github/codeql-action/init@df409f7d9260372bd5f19e5b04e83cb3c43714ae # v3.27.9 + uses: github/codeql-action/init@48ab28a6f5dbc2a99bf1e0131198dd8f1df78169 # v3.28.0 with: languages: ${{ matrix.language }} config-file: .github/codeql/codeql-config.yaml @@ -71,4 +71,4 @@ jobs: # queries: ./path/to/local/query, your-org/your-repo/queries@main - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@df409f7d9260372bd5f19e5b04e83cb3c43714ae # v3.27.9 + uses: github/codeql-action/analyze@48ab28a6f5dbc2a99bf1e0131198dd8f1df78169 # v3.28.0 diff --git a/.github/workflows/scorecards-analysis.yaml b/.github/workflows/scorecards-analysis.yaml index 9deffbad..b812b587 100644 --- a/.github/workflows/scorecards-analysis.yaml +++ b/.github/workflows/scorecards-analysis.yaml @@ -59,6 +59,6 @@ jobs: # Upload the results to GitHub's code scanning dashboard. - name: Upload to code-scanning - uses: github/codeql-action/upload-sarif@df409f7d9260372bd5f19e5b04e83cb3c43714ae # v3.27.9 + uses: github/codeql-action/upload-sarif@48ab28a6f5dbc2a99bf1e0131198dd8f1df78169 # v3.28.0 with: sarif_file: results.sarif From 07a3f3c6b807614c40f1dbab1c5ff9c42cd9c3e4 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 26 Dec 2024 08:50:36 +0000 Subject: [PATCH 08/15] chore(deps): bump actions/upload-artifact from 4.4.3 to 4.5.0 (#855) --- .github/workflows/_build.yaml | 2 +- .github/workflows/scorecards-analysis.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/_build.yaml b/.github/workflows/_build.yaml index 606a8610..f2d53f6e 100644 --- a/.github/workflows/_build.yaml +++ b/.github/workflows/_build.yaml @@ -134,7 +134,7 @@ jobs: # Currently reusable workflows do not support setting strategy property from the caller workflow. - name: Upload the package artifact for debugging and release if: matrix.os == env.ARTIFACT_OS && matrix.python == env.ARTIFACT_PYTHON - uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3 + uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b # v4.5.0 with: name: artifact-${{ matrix.os }}-python-${{ matrix.python }} path: dist diff --git a/.github/workflows/scorecards-analysis.yaml b/.github/workflows/scorecards-analysis.yaml index b812b587..821570d4 100644 --- a/.github/workflows/scorecards-analysis.yaml +++ b/.github/workflows/scorecards-analysis.yaml @@ -52,7 +52,7 @@ jobs: # Upload the results as artifacts (optional). - name: Upload artifact - uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3 + uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b # v4.5.0 with: name: SARIF file path: results.sarif From f235bb00b71bae8c8e94a7a562a509565b6a3893 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 26 Dec 2024 08:50:47 +0000 Subject: [PATCH 09/15] chore(deps): update hypothesis requirement from <6.122.4,>=6.21.0 to >=6.21.0,<6.122.8 (#856) --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 3e0eb194..2411c701 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -61,7 +61,7 @@ hooks = [ ] # Note that the `custom_exit_code` and `env` plugins may currently be unmaintained. test = [ - "hypothesis >=6.21.0,<6.122.4", + "hypothesis >=6.21.0,<6.122.8", "pytest >=7.2.0,<9.0.0", "pytest-custom_exit_code ==0.3.0", "pytest-cov ==6.0.0", From 07b6262bfdd516b2b75a1f3798a6d155865cf9c0 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 26 Dec 2024 08:50:55 +0000 Subject: [PATCH 10/15] chore(deps): update mypy requirement from <1.14,>=1.0.0 to >=1.0.0,<1.15 (#857) --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 2411c701..1c038863 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -46,7 +46,7 @@ actions = [ ] dev = [ "flit >=3.2.0,<4.0.0", - "mypy >=1.0.0,<1.14", + "mypy >=1.0.0,<1.15", "pip-audit >=2.4.4,<3.0.0", "pylint >=3.0.0,<3.4.0", "perflint >=0.8.0,<1.0.0", From cbc1c883875d18fcf88029b7e9c9bf8d50958bb9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jens=20Tr=C3=B6ger?= Date: Thu, 26 Dec 2024 18:52:38 +1000 Subject: [PATCH 11/15] =?UTF-8?q?fix:=20package=20metadata=20did=20not=20c?= =?UTF-8?q?onstrain=20the=20upper=20limit=20of=20Python=E2=80=99s=20versio?= =?UTF-8?q?n=20range,=20set=20now=20to=20<3.14=20(#848)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 1c038863..068578f2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,7 +6,7 @@ build-backend = "flit_core.buildapi" [project] name = "package" -requires-python = ">=3.10" +requires-python = ">=3.10.0,<3.14.0" authors = [{name = "Author", email = "author@email"}] maintainers = [{name = "Maintainer", email = "maintainer@email"}] dynamic = ["version", "description"] From a6b0c10bf92454f73c3e65f822c1e6345c4890bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jens=20Tr=C3=B6ger?= Date: Thu, 26 Dec 2024 18:52:56 +1000 Subject: [PATCH 12/15] fix: declare `check-actionlint` goal in Makefile as proper phony (#849) --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index d44b1358..9f97ecca 100644 --- a/Makefile +++ b/Makefile @@ -150,7 +150,7 @@ audit: python -m pip_audit --skip-editable --desc on --fix --dry-run # Run some or all checks over the package code base. -.PHONY: check check-code check-bandit check-flake8 check-lint check-mypy +.PHONY: check check-code check-bandit check-flake8 check-lint check-mypy check-actionlint check-code: check-bandit check-flake8 check-lint check-mypy check-actionlint check-bandit: pre-commit run bandit --all-files From 6eca20203434b2a10b527cd4405eaae73750c806 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jens=20Tr=C3=B6ger?= Date: Thu, 26 Dec 2024 18:53:20 +1000 Subject: [PATCH 13/15] fix: when nuking then also nuke any installed git hooks (except pre-installed sample hooks) to avoid leaving stale hooks behind (#850) --- Makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 9f97ecca..061534ff 100644 --- a/Makefile +++ b/Makefile @@ -232,11 +232,13 @@ clean: dist-clean rm -fr docs/_build/ # Remove code caches, or the entire virtual environment. -.PHONY: nuke-caches nuke -nuke-caches: clean +.PHONY: nuke-git-hooks nuke-caches nuke +nuke-git-hooks: + find .git/hooks/ -type f ! -name '*.sample' -exec rm -fr {} + +nuke-caches: find src/ -type d -name __pycache__ -exec rm -fr {} + find tests/ -type d -name __pycache__ -exec rm -fr {} + -nuke: nuke-caches +nuke: clean nuke-git-hooks nuke-caches if [ ! -z "${VIRTUAL_ENV}" ]; then \ echo "Please deactivate the virtual environment first!" && exit 1; \ fi From 7aa2f9ddbcd853f3fc621e1158f5daa5c0c498a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jens=20Tr=C3=B6ger?= Date: Thu, 26 Dec 2024 18:53:48 +1000 Subject: [PATCH 14/15] =?UTF-8?q?fix:=20don=E2=80=99t=20attempt=20to=20sor?= =?UTF-8?q?t=20imports=20on=20`git=20push`=20(they=20must=20already=20be?= =?UTF-8?q?=20sorted)=20(#851)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .pre-commit-config.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 410160f2..894157c5 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -28,6 +28,7 @@ repos: - id: isort name: Sort import statements args: [--settings-path, pyproject.toml] + stages: [pre-commit] # Add Black code formatters. - repo: https://github.com/ambv/black From a788e3341ce99472ab7ac7f30a8d6176e3ae7a41 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jens=20Tr=C3=B6ger?= Date: Thu, 26 Dec 2024 18:54:13 +1000 Subject: [PATCH 15/15] feat(test): add the duration of tests to the printed test summary (#852) --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 068578f2..96d9c603 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -251,7 +251,7 @@ max-line-length = 120 # https://github.com/yashtodi94/pytest-custom_exit_code [tool.pytest.ini_options] minversion = "7.0" -addopts = """-vv -ra --tb native \ +addopts = """-vv -ra --tb native --durations 0 \ --hypothesis-show-statistics --hypothesis-explain --hypothesis-verbosity verbose \ --doctest-modules --doctest-continue-on-failure --doctest-glob '*.rst' --doctest-plus \ --suppress-no-test-exit-code \