Skip to content

Add changelog entry and help message for --public-only #148

Add changelog entry and help message for --public-only

Add changelog entry and help message for --public-only #148

Triggered via push December 6, 2024 10:47
Status Success
Total duration 15s
Artifacts

linting.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

3 warnings
fourmolu
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
hlint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
hlint: src/PrintApi/CLI/Cmd/Dump.hs#L181
Suggestion in extractModuleDeclarations in module PrintApi.CLI.Cmd.Dump: Move guards forward ▫︎ Found: "[pprTyThing ss thing $$ extras |\n thing <- things,\n let ss = mkShowSub mod_info,\n let extras\n = case thing of\n ATyCon tycon\n | Just cls <- tyConClass_maybe tycon\n -> nest\n 2 (text \"{-# MINIMAL\" <+> ppr (classMinimalDef cls) <+> text \"#-}\")\n _ -> empty]" ▫︎ Perhaps: "[pprTyThing ss thing $$ extras |\n let ss = mkShowSub mod_info,\n thing <- things,\n let extras\n = case thing of\n ATyCon tycon\n | Just cls <- tyConClass_maybe tycon\n -> nest\n 2 (text \"{-# MINIMAL\" <+> ppr (classMinimalDef cls) <+> text \"#-}\")\n _ -> empty]"