Skip to content

Commit 72db72d

Browse files
committed
feat: update fourmolu configuration to exclude specific CPP
1 parent 6b38afe commit 72db72d

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

.github/workflows/haskell-ci.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,15 @@ jobs:
2525
- uses: haskell-actions/run-fourmolu@v11
2626
with:
2727
version: "0.17.0.0"
28+
# Keep in sync with .fourmolu-ignore and presubmit.yml. These four
29+
# CPP-gated meta-package wrappers crash fourmolu's ghc-lib-parser.
30+
pattern: |
31+
**/*.hs
32+
**/*.hs-boot
33+
!src/DataFrame.hs
34+
!src/DataFrame/TH.hs
35+
!src/DataFrame/Typed.hs
36+
!src/DataFrame/Typed/TH.hs
2837
hlint:
2938
runs-on: ubuntu-latest
3039
steps:

0 commit comments

Comments
 (0)