File tree Expand file tree Collapse file tree 2 files changed +1
-8
lines changed Expand file tree Collapse file tree 2 files changed +1
-8
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ module Data.AppendMap
20
20
, module Data.Map.Monoidal
21
21
) where
22
22
23
- import Prelude hiding (map , null )
23
+ import Prelude hiding (null )
24
24
25
25
import Data.Coerce
26
26
import Data.Default
Original file line number Diff line number Diff line change @@ -30,16 +30,9 @@ main = do
30
30
]
31
31
matchFile = and <$> sequence
32
32
[ extension ==? " .hs"
33
- , let notElem' = liftOp notElem
34
- in filePath `notElem'` filePathExceptions pwd
35
33
]
36
34
files <- find recurseInto matchFile (pwd </> " src" ) -- TODO: Someday fix all hints in tests, etc.
37
35
ideas <- fmap concat $ forM files $ \ f -> do
38
36
putStr $ " linting file " ++ drop (length pwd + 1 ) f ++ " ... "
39
37
runHlint f
40
38
if null ideas then exitSuccess else exitFailure
41
-
42
- filePathExceptions :: FilePath -> [FilePath ]
43
- filePathExceptions pwd = map (pwd </> ) $
44
- [ " src/Data/AppendMap.hs" -- parse error when hlint runs
45
- ]
You can’t perform that action at this time.
0 commit comments