<commit_before>
import System.Time.Extra
import System.Process.Extra


main :: IO ()
main = do
    -- retry 3 $ system_ "cabal install QuickCheck"
    -- FIXME: Temporarily disabled --typecheck --quickcheck due to GHC 7.10 issues
    system_ "hlint test +RTS -K512K" --typecheck --quickcheck
    (time,_) <- duration $ system_ "hlint src --with-group=extra --with-group=future" -- "UNIPLATE_VERBOSE=-1 hlint src +RTS -K1K"
    putStrLn $ "Running HLint on self took " ++ showDuration time<commit_msg>#1124, use --test in travis.hs<commit_after>
import System.Time.Extra
import System.Process.Extra


main :: IO ()
main = do
    system_ "hlint --test +RTS -K512K"
    (time,_) <- duration $ system_ "hlint src --with-group=extra --with-group=future" -- "UNIPLATE_VERBOSE=-1 hlint src +RTS -K1K"
    putStrLn $ "Running HLint on self took " ++ showDuration time
{'fraction_non_alphanumeric': 0.13271245634458673, 'fraction_numerical': 0.020954598370197905, 'mean_word_length': 3.3877551020408165, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1134419', 'n_tokens_mistral': 309, 'n_tokens_neox': 294, 'n_words': 89}