Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Dec 2, 2024
1 parent 82d3cb9 commit 56bc9bf
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions cmake_pc_hooks/_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,7 @@ def parse_args(self, args):
'--read-json-db',
action='store_true',
help=(
'Run hooks on files found in compile_commands.json '
'(if found and in addition to files specified on CLI)'
'Run hooks on files found in compile_commands.json (if found and in addition to files specified on CLI)'
),
)

Expand Down
2 changes: 1 addition & 1 deletion tests/python/_argparse_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def _add_simple_args(parser):
# ------------------------------------------------------------------------------


@pytest.fixture()
@pytest.fixture
def simple_toml_content():
return dedent(
"""
Expand Down
2 changes: 1 addition & 1 deletion tests/python/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
# ==============================================================================


@pytest.fixture()
@pytest.fixture
def compile_commands(tmp_path):
path = tmp_path / 'build' / 'compile_commands.json'

Expand Down

0 comments on commit 56bc9bf

Please sign in to comment.