Skip to content

Commit fc685db

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 076467f commit fc685db

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

cmake_pc_hooks/_utils.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,7 @@ def parse_args(self, args):
8888
'--read-json-db',
8989
action='store_true',
9090
help=(
91-
'Run hooks on files found in compile_commands.json '
92-
'(if found and in addition to files specified on CLI)'
91+
'Run hooks on files found in compile_commands.json (if found and in addition to files specified on CLI)'
9392
),
9493
)
9594

tests/python/_argparse_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ def _add_simple_args(parser):
3535
# ------------------------------------------------------------------------------
3636

3737

38-
@pytest.fixture()
38+
@pytest.fixture
3939
def simple_toml_content():
4040
return dedent(
4141
"""

tests/python/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
# ==============================================================================
99

1010

11-
@pytest.fixture()
11+
@pytest.fixture
1212
def compile_commands(tmp_path):
1313
path = tmp_path / 'build' / 'compile_commands.json'
1414

0 commit comments

Comments
 (0)