Add shell backend
@@ -8,6 +8,9 @@ backend_packages = [
"pants.backend.python.lint.isort",
"pants.backend.python.lint.black",
"pants.backend.python.typecheck.mypy",
+ "pants.backend.shell",
+ "pants.backend.shell.lint.shellcheck",
+ "pants.backend.shell.lint.shfmt",
"grapl_setup_py"
]
@@ -112,3 +115,9 @@ version = "ipython==7.20.0"
[flake8]
config = ".flake8"
+
+[shfmt]
+# Indent with 4 spaces
+# Indent switch cases
+# Redirect operators are followed by a space
+args = ["-i 4", "-ci", "-sr"]
