We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ec117c1 commit 214d751Copy full SHA for 214d751
.pre-commit-config.yaml
@@ -16,7 +16,7 @@ repos:
16
args: ['--application-directories=.:src']
17
name: reorder python imports
18
- repo: https://github.com/psf/black
19
- rev: 23.12.1
+ rev: 24.1.1
20
hooks:
21
- id: black
22
args: [--safe, --quiet]
src/pytest_cpp/catch2.py
@@ -54,9 +54,7 @@ def get_catch_version(
54
return (
55
Catch2Version.V2
56
if "--list-test-names-only" in output
57
- else Catch2Version.V3
58
- if "--list-tests" in output
59
- else None
+ else Catch2Version.V3 if "--list-tests" in output else None
60
)
61
62
@classmethod
0 commit comments