Skip to content

Conversation

lehins
Copy link
Contributor

@lehins lehins commented Jul 5, 2025

Introduce fourmolu as the required formatter for the repository:

  • Adjust CPP code, so fourmolu doesn't fail
  • Adjust legacy tests instructions
  • Fix TestRandomRs legacy test, since it was using Integer instead of Int
  • Add a script for easier running of fourmolu: ./scripts/fourmolize.sh
  • Add fourmolu to CI
  • Apply fourmolu to the whole repo
  • Update tested with ghc versions to the latest ones

@lehins lehins force-pushed the lehins/fourmolize branch 3 times, most recently from 4e091cb to d3febed Compare July 5, 2025 18:44
lehins added 2 commits July 5, 2025 13:01
New style of haddock that is being enforced by fourmolu is not supported
by `haddock` included with ghc-8.4 and older
@lehins lehins force-pushed the lehins/fourmolize branch from d3febed to 69b9494 Compare July 5, 2025 19:02
lehins added 3 commits July 5, 2025 13:12
Original issue on the ghc issue tracker was talking about generating
`Int`, not `Integer`
@lehins lehins force-pushed the lehins/fourmolize branch from 69b9494 to a02eb70 Compare July 5, 2025 19:13
@lehins lehins merged commit ca8a869 into master Jul 5, 2025
56 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant