Skip to content

Commit e793f88

Browse files
committed
fix: pre-commit run --all-files
1 parent e689b0c commit e793f88

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ tests/__pycache__/
1313
.eggs
1414
.mypy_cache/
1515
*env
16-
docs/cli_args.rst
16+
docs/cli_args.rst

clang_tools/main.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
from .install import install_clang_tools, uninstall_clang_tools
1010
from . import RESET_COLOR, YELLOW
1111

12+
1213
def get_parser() -> argparse.ArgumentParser:
1314
"""Get and parser to interpret CLI args."""
1415
parser = argparse.ArgumentParser()

clang_tools/util.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
from http.client import HTTPResponse
1414

1515

16-
1716
def check_install_os() -> str:
1817
"""Identify this Operating System.
1918

tests/test_install.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,10 @@ def test_install_tools(monkeypatch: pytest.MonkeyPatch, tmp_path: Path, version:
6464
fd.name for fd in tmp_path.iterdir()
6565
]
6666

67+
6768
def test_path_warning(capsys: pytest.CaptureFixture):
6869
"""Explicitly fail to download a set of tools to test the prompts that
69-
70+
7071
1. warns users about using a dir not in env var PATH.
7172
2. indicates a failure to download a tool
7273
"""

0 commit comments

Comments
 (0)