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 c6cd747 commit a6c9b5fCopy full SHA for a6c9b5f
ruff.toml
@@ -19,7 +19,6 @@ select = ["ALL"]
19
preview = true
20
ignore = [
21
"CPY001", # Skip copyright notice requirement at top of files
22
- "S404", # Allow importing 'subprocess' module to call external tools needed by these hooks
23
]
24
25
[lint.isort]
src/pre_commit_terraform/terraform_docs_replace.py
@@ -5,7 +5,11 @@
5
"""
6
7
import os
8
-import subprocess
+
9
+# S404 - Allow importing 'subprocess' module to call external tools
10
+# needed by these hooks. FIXME - should be moved to separate module
11
+# when more hooks will be introduced
12
+import subprocess # noqa: S404
13
import warnings
14
from argparse import ArgumentParser, Namespace
15
from typing import cast as cast_to
0 commit comments