File tree Expand file tree Collapse file tree 5 files changed +7
-18
lines changed
Expand file tree Collapse file tree 5 files changed +7
-18
lines changed Original file line number Diff line number Diff line change @@ -415,7 +415,6 @@ use nix
415415### Purescript
416416
417417- [ purs-tidy] ( https://github.com/natefaubion/purescript-tidy )
418- - [ purty] ( https://gitlab.com/joneshf/purty )
419418
420419### Python
421420
Original file line number Diff line number Diff line change @@ -3773,14 +3773,6 @@ lib.escapeShellArgs (lib.concatMap (ext: [ "--ghc-opt" "-X${ext}" ]) hooks.fourm
37733773 entry = "${ hooks . purs-tidy . package } /bin/purs-tidy format-in-place" ;
37743774 files = "\\ .purs$" ;
37753775 } ;
3776- purty =
3777- {
3778- name = "purty" ;
3779- description = "Format purescript files." ;
3780- package = tools . purty ;
3781- entry = "${ hooks . purty . package } /bin/purty" ;
3782- files = "\\ .purs$" ;
3783- } ;
37843776 pylint =
37853777 {
37863778 name = "pylint" ;
Original file line number Diff line number Diff line change 431431 } ;
432432
433433 config = lib . mkIf cfg . enable {
434+ # Hook removal notices should be defined here
435+ assertions = [
436+ {
437+ assertion = ! ( cfg . hooks ? purty ) ;
438+ message = "The `purty` hook has been removed because the project is unmaintained. Consider using `purs-tidy` instead." ;
439+ }
440+ ] ;
434441
435442 rawConfig =
436443 {
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 232232 cabal2nix-dir = callPackage ./cabal2nix-dir { } ;
233233 hpack-dir = callPackage ./hpack-dir { } ;
234234 hunspell = callPackage ./hunspell { } ;
235- purty = callPackage ./purty { purty = nodePackages . purty ; } ;
236235 terraform-validate = callPackage ./terraform-validate { } ;
237236 tflint = callPackage ./tflint { } ;
238237 dune-build-opam-files = callPackage ./dune-build-opam-files {
You can’t perform that action at this time.
0 commit comments