Skip to content

Commit 9a8f8b2

Browse files
committed
remove - HLINT ignore "Fuse on/on"
1 parent 55448db commit 9a8f8b2

File tree

11 files changed

+0
-17
lines changed

11 files changed

+0
-17
lines changed

cardano-db-sync/src/Cardano/DbSync/Era/Shelley/Query.hs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@ import Database.Esqueleto.Experimental (
2121
SqlBackend,
2222
)
2323

24-
{- HLINT ignore "Fuse on/on" -}
25-
2624
resolveStakeAddress :: MonadIO m => ByteString -> ReaderT SqlBackend m (Either LookupFail StakeAddressId)
2725
resolveStakeAddress addr = queryStakeAddress addr renderByteArray
2826

cardano-db-sync/src/Cardano/DbSync/Era/Shelley/ValidateWithdrawal.hs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,6 @@ import Database.Esqueleto.Experimental (
4242
(^.),
4343
)
4444

45-
{- HLINT ignore "Fuse on/on" -}
46-
4745
-- For any stake address which has seen a withdrawal, the sum of the withdrawals for that address
4846
-- should be less than or equal to the sum of the rewards for that address.
4947
validateRewardWithdrawals ::

cardano-db-sync/src/Cardano/DbSync/Era/Universal/Validate.hs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ import Database.Esqueleto.Experimental (
4444
)
4545
import GHC.Err (error)
4646

47-
{- HLINT ignore "Fuse on/on" -}
4847
{- HLINT ignore "Reduce duplication" -}
4948

5049
validateEpochRewards ::

cardano-db-sync/src/Cardano/DbSync/OffChain/Query.hs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,6 @@ import Database.Esqueleto.Experimental (
6161
)
6262
import System.Random.Shuffle (shuffleM)
6363

64-
{- HLINT ignore "Fuse on/on" -}
65-
6664
---------------------------------------------------------------------------------------------------------------------------------
6765
-- Query OffChain VoteData
6866
---------------------------------------------------------------------------------------------------------------------------------

cardano-db-tool/src/Cardano/DbTool/Report/Balance.hs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ import Database.Esqueleto.Experimental (
3838
)
3939

4040
{- HLINT ignore "Redundant ^." -}
41-
{- HLINT ignore "Fuse on/on" -}
4241

4342
reportBalance :: TxOutVariantType -> [Text] -> IO ()
4443
reportBalance txOutTableType saddr = do

cardano-db-tool/src/Cardano/DbTool/Report/StakeReward/History.hs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,6 @@ import Database.Esqueleto.Experimental (
4040
)
4141
import Text.Printf (printf)
4242

43-
{- HLINT ignore "Fuse on/on" -}
44-
4543
reportStakeRewardHistory :: Text -> IO ()
4644
reportStakeRewardHistory saddr = do
4745
xs <- runDbNoLoggingEnv (queryHistoryStakeRewards saddr)

cardano-db-tool/src/Cardano/DbTool/Report/StakeReward/Latest.hs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,6 @@ import Database.Esqueleto.Experimental (
4444
)
4545
import Text.Printf (printf)
4646

47-
{- HLINT ignore "Fuse on/on" -}
48-
4947
reportEpochStakeRewards :: Word64 -> [Text] -> IO ()
5048
reportEpochStakeRewards epochNum saddr = do
5149
xs <- catMaybes <$> runDbNoLoggingEnv (mapM (queryEpochStakeRewards epochNum) saddr)

cardano-db-tool/src/Cardano/DbTool/Report/Transactions.hs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@ import Database.Esqueleto.Experimental (
5151
)
5252

5353
{- HLINT ignore "Redundant ^." -}
54-
{- HLINT ignore "Fuse on/on" -}
5554

5655
reportTransactions :: TxOutVariantType -> [Text] -> IO ()
5756
reportTransactions txOutTableType addrs =

cardano-db-tool/src/Cardano/DbTool/Validate/TxAccounting.hs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,6 @@ import Database.Esqueleto.Experimental (
4343
)
4444
import qualified System.Random as Random
4545

46-
{- HLINT ignore "Fuse on/on" -}
47-
4846
validateTxAccounting :: TxOutVariantType -> IO ()
4947
validateTxAccounting getTxOutVariantType = do
5048
txIdRange <- runDbNoLoggingEnv queryTestTxIds

cardano-db/src/Cardano/Db/Operations/Query.hs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,6 @@ import Database.Persist.Class.PersistQuery (selectList)
166166
import Database.Persist.Types (SelectOpt (Asc))
167167

168168
{- HLINT ignore "Redundant ^." -}
169-
{- HLINT ignore "Fuse on/on" -}
170169
{- HLINT ignore "Reduce duplication" -}
171170

172171
-- If you squint, these Esqueleto queries almost look like SQL queries.

0 commit comments

Comments
 (0)