File tree Expand file tree Collapse file tree 4 files changed +9
-163
lines changed
quickcheck-dynamic/src/Test/QuickCheck/DynamicLogic Expand file tree Collapse file tree 4 files changed +9
-163
lines changed Original file line number Diff line number Diff line change 5353 run : |
5454 nix-shell --arg withoutDevTools true --run 'cabal test all --test-options "--xml=test-results.xml"'
5555
56+ - name : Formatting
57+ run : |
58+ nix-shell --arg withoutDevTools false --run './fmt.sh check'
59+
5660 - name : Upload build & test artifacts
5761 uses : actions/upload-artifact@v2
5862 with :
Original file line number Diff line number Diff line change 11#! /bin/bash
2- find . -type f -name * .hs | xargs -n1 fourmolu -i
2+ MODE=${1:- inplace}
3+ fourmolu -m $MODE -c $( find quickcheck-dynamic* -type f -name * .hs)
4+ exit $?
Original file line number Diff line number Diff line change 11indentation : 2
22comma-style : leading # for lists, tuples etc. - can also be 'trailing'
3+ function-arrows : leading
34record-brace-space : false # rec {x = 1} vs. rec{x = 1}
45indent-wheres : false # 'false' means save space by only half-indenting the 'where' keyword
56diff-friendly-import-export : true # 'false' uses Ormolu-style lists
67respectful : true # don't be too opinionated about newlines etc.
78haddock-style : single-line # '--' vs. '{-'
89newlines-between-decls : 1 # number of newlines between top-level declarations
10+ -o : -XImportQualifiedPost
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments