- Add -Werror to ghc-options for both library and test suite - Remove unused Data.Maybe import from Internal.hs - Remove unused Data.Int and Data.Text imports from test files
This commit is contained in:
@@ -34,7 +34,7 @@ library
|
||||
, text
|
||||
, bytestring
|
||||
default-language: Haskell2010
|
||||
ghc-options: -Wall
|
||||
ghc-options: -Wall -Werror
|
||||
|
||||
test-suite spec
|
||||
type: exitcode-stdio-1.0
|
||||
@@ -56,3 +56,4 @@ test-suite spec
|
||||
, hspec
|
||||
, text
|
||||
default-language: Haskell2010
|
||||
ghc-options: -Wall -Werror
|
||||
|
||||
@@ -5,7 +5,6 @@ module Orville.SQLite.Internal (
|
||||
) where
|
||||
|
||||
import Control.Monad (forM)
|
||||
import Data.Maybe (fromMaybe)
|
||||
import qualified Data.Text as T
|
||||
import qualified Database.SQLite3 as SQLite3
|
||||
import Database.SQLite3.Direct (columnCount)
|
||||
|
||||
@@ -7,7 +7,6 @@ module Test.AutoMigration where
|
||||
|
||||
import Control.Exception (SomeException, try)
|
||||
import Control.Monad.IO.Class (liftIO)
|
||||
import Data.Int (Int64)
|
||||
import Test.Hspec
|
||||
|
||||
import Orville.SQLite
|
||||
|
||||
@@ -4,8 +4,6 @@
|
||||
module Test.EntityOperations where
|
||||
|
||||
import Control.Monad.IO.Class (liftIO)
|
||||
import Data.Int (Int64)
|
||||
import Data.Text (Text)
|
||||
import Test.Hspec
|
||||
|
||||
import Orville.SQLite
|
||||
|
||||
@@ -4,7 +4,6 @@
|
||||
|
||||
module Test.SqlMarshaller where
|
||||
|
||||
import Data.Int (Int64)
|
||||
import qualified Data.Text as T
|
||||
import Test.Hspec
|
||||
|
||||
|
||||
Reference in New Issue
Block a user