summaryrefslogtreecommitdiff
path: root/Biz/Lint.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Biz/Lint.hs')
-rw-r--r--Biz/Lint.hs18
1 files changed, 1 insertions, 17 deletions
diff --git a/Biz/Lint.hs b/Biz/Lint.hs
index d44e465..d7db9d6 100644
--- a/Biz/Lint.hs
+++ b/Biz/Lint.hs
@@ -123,22 +123,6 @@ hlint =
fixArgs = Nothing
}
-pylint :: Linter
-pylint =
- Linter
- { exe = "pylint",
- checkArgs = ["--disable=invalid-name"],
- fixArgs = Nothing
- }
-
-black :: Linter
-black =
- Linter
- { exe = "black",
- checkArgs = ["--check"],
- fixArgs = Just []
- }
-
deadnix :: Linter
deadnix =
Linter
@@ -180,7 +164,7 @@ runOne mode root cwd path_ = results +> traverse_ printResult >> results
[ lint mode ormolu path_,
lint mode hlint path_
]
- Just (Namespace _ Py) -> [lint mode pylint path_, lint mode black path_]
+ Just (Namespace _ Py) -> [] -- python linters are run in Builder.nix checkPhase
Just (Namespace _ Sh) -> [lint mode shellcheck path_]
Just (Namespace _ Nix) -> [lint mode deadnix path_]
Just (Namespace _ Scm) -> [pure <| NoOp path_]