File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed
Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change 1616# applied to Kore.Rewrite.SMT.Evaluator.evaluate.
1717- ignore : {name: "Redundant evaluate"}
1818
19+ # This warning should apply to Data.NonEmpty.unzip but is mistakenly
20+ # applied to Data.List.unzip
21+ - ignore : {name: "Avoid NonEmpty.unzip", within: [Booster.Pattern.Rewrite]}
22+
1923# Corporate style
2024- ignore : {name: "Move brackets to avoid $" }
2125- ignore : {name: "Use tuple-section"}
9498 name : " Redundant bracket"
9599 within :
96100 - Kore.Internal.TermLike.TermLike
101+ # decreases readability
102+ - ignore : {name: "Functor law"}
103+ - ignore : {name: "Move filter"}
104+ - ignore : {name: "Move mapMaybe"}
97105
98106
99107# Haskell names match K names
Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
22set -euxo pipefail
3- expected_hlint_version=v3.6.1
3+ expected_hlint_version=v3.8
44hlint=${HLINT:- $(which hlint)} || { echo ' No hlint!' ; exit 1 ; }
55hlint_version=$( ${hlint} --version | head -n1 | cut --field=1 --delimiter=' ,' | cut --field=2 --delimiter=' ' )
66[[ ${hlint_version} == ${expected_hlint_version} ]] || { echo " Unexpected hlint version, got ${hlint_version} , expected ${expected_hlint_version} " ; exit 1 ; }
You can’t perform that action at this time.
0 commit comments