From 386e8317dc2c91792417cceb301e67957b34b0cc Mon Sep 17 00:00:00 2001 From: Patrick Thomson Date: Mon, 21 Oct 2019 14:09:20 -0400 Subject: [PATCH] lint semantic-python --- .travis.yml | 2 +- semantic-python/test/Directive.hs | 4 ++-- semantic-python/test/Instances.hs | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 63dd54678..0990cfac6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -43,7 +43,7 @@ script: # parse-examples is disabled because it slaughters our CI # - cabal new-run semantic:parse-examples # Downloads an hlint binary rather than going through cabal-install -- curl -sSL https://raw.github.com/ndmitchell/hlint/master/misc/run.sh | sh -s src +- curl -sSL https://raw.github.com/ndmitchell/hlint/master/misc/run.sh | sh -s src semantic-python # Any branch linked with a pull request will be built, as well as the non-PR # branches listed below: diff --git a/semantic-python/test/Directive.hs b/semantic-python/test/Directive.hs index db95ff4dc..cd81413e4 100644 --- a/semantic-python/test/Directive.hs +++ b/semantic-python/test/Directive.hs @@ -7,8 +7,8 @@ module Directive ( Directive (..) import Control.Applicative import Control.Monad import Core.Core (Core) -import qualified Core.Parser as Core.Parser -import qualified Core.Pretty as Core.Pretty +import qualified Core.Parser +import qualified Core.Pretty import Core.Name (Name) import Data.ByteString.Char8 (ByteString) import qualified Data.ByteString.Char8 as ByteString diff --git a/semantic-python/test/Instances.hs b/semantic-python/test/Instances.hs index 8e038b6e2..b7dd82858 100644 --- a/semantic-python/test/Instances.hs +++ b/semantic-python/test/Instances.hs @@ -1,4 +1,4 @@ -{-# LANGUAGE DeriveAnyClass, DerivingStrategies, GeneralizedNewtypeDeriving, LambdaCase, StandaloneDeriving, FlexibleInstances, NamedFieldPuns, OverloadedStrings, QuantifiedConstraints, TypeOperators, UndecidableInstances, TypeApplications #-} +{-# LANGUAGE DerivingStrategies, GeneralizedNewtypeDeriving, LambdaCase, StandaloneDeriving, FlexibleInstances, NamedFieldPuns, OverloadedStrings, QuantifiedConstraints, TypeOperators, UndecidableInstances, TypeApplications #-} {-# OPTIONS_GHC -fno-warn-orphans #-} module Instances () where