Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ jobs:
DISABLE_SDIST_BUILD: "yes"
HLINT_VERSION: 3.10
HLINT_OPTIONS: lint
HLINT_TARGETS: core/src src test benchmark
HLINT_TARGETS: core/src src
command: |
bash -c "$PACKCHECK hlint" || exit 1
echo "Checking trailing spaces..."
Expand Down
20 changes: 0 additions & 20 deletions .hlint.ignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,23 +5,3 @@ src/Streamly/Internal/Data/SmallArray/Type.hs
src/Streamly/Internal/Data/Stream/IsStream/Eliminate.hs
src/Streamly/Internal/Data/Stream/Serial.hs
src/Streamly/Internal/Data/Stream/Zip.hs
test/Streamly/Test/Data/Array.hs
test/Streamly/Test/Data/Parser.hs
test/Streamly/Test/Data/Parser/Common.hs
test/Streamly/Test/Data/ParserK.hs
test/Streamly/Test/Data/SmallArray.hs
test/Streamly/Test/Data/Unfold.hs
test/Streamly/Test/FileSystem/Event.hs
test/Streamly/Test/Prelude/Concurrent.hs
test/lib/Streamly/Test/Prelude/Common.hs
test/Streamly/Test/Prelude/Fold.hs
test/Streamly/Test/Prelude/Rate.hs
test/Streamly/Test/Prelude/Serial.hs
test/Streamly/Test/Unicode/Stream.hs
test/Streamly/Test/Data/Unbox.hs
benchmark/lib/Streamly/Benchmark/Common.hs
benchmark/lib/Streamly/Benchmark/Common/Handle.hs
benchmark/Streamly/Benchmark/Data/Array.hs
benchmark/Streamly/Benchmark/Data/ParserK.hs
benchmark/Streamly/Benchmark/Data/Unfold.hs
benchmark/Streamly/Benchmark/FileSystem/Handle.hs
9 changes: 0 additions & 9 deletions .hlint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,6 @@
- ignore: {name: "Redundant <*", within: Stream.Expand}
- ignore: {name: "Redundant bracket", within: Stream.Split}
- ignore: {name: "Use isDigit", within: Streamly.Internal.Unicode.Parser}
# These tests intentionally test functor/monoid laws, so the hints are
# expected and should be suppressed
- ignore: {name: "Functor law", within: [Streamly.Test.Data.Stream.MkType.Ahead, Streamly.Test.Data.Stream.MkType.ZipSerial, Streamly.Test.Data.Stream.MkType.ZipAsync]}
- ignore: {name: "Monoid law, left identity", within: [Streamly.Test.Data.Stream.MkType.Ahead, Streamly.Test.Data.Stream.MkType.ZipSerial, Streamly.Test.Data.Stream.MkType.ZipAsync]}
- ignore: {name: "Monoid law, right identity", within: [Streamly.Test.Data.Stream.MkType.Ahead, Streamly.Test.Data.Stream.MkType.ZipSerial, Streamly.Test.Data.Stream.MkType.ZipAsync]}
- ignore: {name: "Use fold", within: Streamly.Test.Data.Stream.MkType.Ahead}
- ignore: {name: "Fuse foldr/map", within: Streamly.Test.Data.Stream.MkType.Ahead}
- ignore: {name: "Avoid lambda using `infix`", within: Streamly.Test.Data.Stream.MkType.Ahead}

# Specify additional command line arguments
#
Expand All @@ -50,7 +42,6 @@
, --cpp-include=src/Streamly/Internal/Data/Stream
, --cpp-include=core/src/Streamly/Internal/Data/Array
, --cpp-include=core/src/doctest
, --cpp-include=test
, --cpp-define=CABAL_OS_LINUX
, --cpp-define=linux_HOST_OS
]
Expand Down
10 changes: 3 additions & 7 deletions benchmark/Streamly/Benchmark/Data/Stream.hs
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,10 @@ import Streamly.Benchmark.Common.Handle (mkHandleBenchEnv)

import qualified Stream.Eliminate as Elimination
import qualified Stream.Exceptions as Exceptions
import qualified Stream.Expand as NestedStream
import qualified Stream.Nesting as NestedStream
import qualified Stream.Generate as Generation
import qualified Stream.Lift as Lift
import qualified Stream.Reduce as NestedFold
import qualified Stream.Split as Split
import qualified Stream.SplitChunks as SplitChunks
import qualified Stream.Parse as Parse
import qualified Stream.Transform as Transformation
import qualified Stream.Type as Type

Expand Down Expand Up @@ -64,10 +62,8 @@ main = do
[ Generation.benchmarks size
, Elimination.benchmarks size
, Exceptions.benchmarks env size
, Split.benchmarks env
, SplitChunks.benchmarks env
, Parse.benchmarks size env
, Transformation.benchmarks size
, NestedFold.benchmarks size
, Lift.benchmarks size
, NestedStream.benchmarks size
, Type.benchmarks size
Expand Down
Loading
Loading