Re: HLint in the GHC CI, an eight-months retrospective

2021-03-26 Thread Hécate
Hi Richard, I am sorry, I have indeed forgotten one of the most important parts of my email. :) The Hadrian rules are lint:base lint:compiler You can invoke them as simply as: ./hadrian/build lint:base You need to have a recent version of HLint in your PATH. If you use ghc.nix, this

Re: HLint in the GHC CI, an eight-months retrospective

2021-03-25 Thread Richard Eisenberg
Thanks for this update! Glad to know this effort is going well. One quick question: suppose I am editing something in `base`. My understanding is that my edit will be linted. How can I run hlint locally so that I can easily respond to trouble before CI takes a crack? And where would I learn this

HLint in the GHC CI, an eight-months retrospective

2021-03-25 Thread Hécate
Hello fellow devs, this email is an activity report on the integration of the HLint[0] tool in the Continuous Integration (CI) pipelines. On Jul. 5, 2020 I opened a discussion ticket[1] on the topic of code linting in the several components of the GHC code-base. It has served as a reference