File tree Expand file tree Collapse file tree 3 files changed +4
-2
lines changed
Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,8 @@ target-version = "py39"
33
44line-length = 79 # To decrease PR diff size
55
6+ namespace-packages = [" src/pre_commit_terraform/" , " tests/pytest/" ]
7+
68[format ]
79quote-style = " single"
810
@@ -17,7 +19,6 @@ select = ["ALL"]
1719preview = true
1820ignore = [
1921 " CPY001" , # Missing copyright notice at top of file
20- " INP001" , # We use namespace packages in this project
2122]
2223
2324[lint .isort ]
Original file line number Diff line number Diff line change @@ -22,6 +22,8 @@ def invoke_cli_app(cli_args: list[str]) -> ReturnCodeType:
2222 Returns:
2323 ReturnCodeType: The return code of the app.
2424
25+ Raises:
26+ PreCommitTerraformExit: If the app is exiting with error.
2527 """
2628 root_cli_parser = initialize_argument_parser ()
2729 parsed_cli_args = root_cli_parser .parse_args (cli_args )
Original file line number Diff line number Diff line change 33from argparse import ArgumentParser , Namespace
44
55import pytest
6-
76from pre_commit_terraform import _cli_parsing as _cli_parsing_mod
87from pre_commit_terraform ._cli import invoke_cli_app
98from pre_commit_terraform ._errors import (
You can’t perform that action at this time.
0 commit comments