From 70884776b65a909ab521d908258fc5ce91f73f91 Mon Sep 17 00:00:00 2001 From: Georgy Lukyanov Date: Thu, 5 Dec 2024 11:31:31 +0100 Subject: [PATCH] Stylish and hlint --- .../Ouroboros/Consensus/Storage/LedgerDB/Snapshots.hs | 1 - .../Test/Ouroboros/Storage/LedgerDB/DiskPolicy.hs | 5 +++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ouroboros-consensus/src/ouroboros-consensus/Ouroboros/Consensus/Storage/LedgerDB/Snapshots.hs b/ouroboros-consensus/src/ouroboros-consensus/Ouroboros/Consensus/Storage/LedgerDB/Snapshots.hs index 6c232ad1d7..a17ebb2bff 100644 --- a/ouroboros-consensus/src/ouroboros-consensus/Ouroboros/Consensus/Storage/LedgerDB/Snapshots.hs +++ b/ouroboros-consensus/src/ouroboros-consensus/Ouroboros/Consensus/Storage/LedgerDB/Snapshots.hs @@ -6,7 +6,6 @@ {-# LANGUAGE KindSignatures #-} {-# LANGUAGE MultiParamTypeClasses #-} {-# LANGUAGE NamedFieldPuns #-} -{-# LANGUAGE PatternSynonyms #-} {-# LANGUAGE RankNTypes #-} {-# LANGUAGE RecordWildCards #-} {-# LANGUAGE ScopedTypeVariables #-} diff --git a/ouroboros-consensus/test/storage-test/Test/Ouroboros/Storage/LedgerDB/DiskPolicy.hs b/ouroboros-consensus/test/storage-test/Test/Ouroboros/Storage/LedgerDB/DiskPolicy.hs index af2c30e5c3..22d90f3685 100644 --- a/ouroboros-consensus/test/storage-test/Test/Ouroboros/Storage/LedgerDB/DiskPolicy.hs +++ b/ouroboros-consensus/test/storage-test/Test/Ouroboros/Storage/LedgerDB/DiskPolicy.hs @@ -1,8 +1,8 @@ {-# LANGUAGE LambdaCase #-} {-# LANGUAGE NamedFieldPuns #-} {-# LANGUAGE NumericUnderscores #-} -{-# LANGUAGE TypeApplications #-} {-# LANGUAGE PatternSynonyms #-} +{-# LANGUAGE TypeApplications #-} module Test.Ouroboros.Storage.LedgerDB.DiskPolicy (tests) where @@ -14,7 +14,8 @@ import Ouroboros.Consensus.Storage.LedgerDB (DiskPolicy (..), NumOfDiskSnapshots (..), SnapshotInterval (..), TimeSinceLast (..), mkDiskPolicy) import Ouroboros.Consensus.Storage.LedgerDB.DiskPolicy - (DiskPolicyArgs (DiskPolicyArgs), pattern DiskSnapshotChecksum) + (DiskPolicyArgs (DiskPolicyArgs), + pattern DiskSnapshotChecksum) import Test.QuickCheck import Test.Tasty import Test.Tasty.QuickCheck