-
Notifications
You must be signed in to change notification settings - Fork 629
[CDEC-383] Add stylish-haskell to nix and CI #3142
Conversation
ec86d38
to
2d1afad
Compare
2d1afad
to
8392e34
Compare
8392e34
to
7533d49
Compare
ad6d773
to
5902fe0
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👏
.stylish-haskell.yaml
Outdated
@@ -198,7 +198,7 @@ steps: | |||
# Note: we tend to write code which fits into 80 characters, in some cases | |||
# 100 is acceptable. For imports we always permit 100 characters because it | |||
# decreases verbosity of diffs and makes merging easier. | |||
columns: 100 | |||
columns: 80 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I really don't think we should change that one. 80 characters is super narrow and the change is actually un-ncessary.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm, 80 chars is the codebase-wide recommended style - it's only here that it was inconsistent. What does everyone else think?
5902fe0
to
81bd14a
Compare
81bd14a
to
6a59cc6
Compare
@ruhatch Which version of
|
Oh wow, didn't appreciate I needed to install our own custom version: Alfredo proceeds to checkout and install the version |
You can just do |
Ah, true enough! |
[CDEC-383] Add stylish-haskell to nix and CI
…hk/ruhatch/CDEC-383 [CDEC-383] Add stylish-haskell to nix and CI
Description
To bring the code base to a consistent style we want to add stylish-haskell checks to CI. This adds our custom version of stylish-haskell to
stack.yaml
and uses it in thestylish-haskell
check in buildkite.Linked issue
CDEC-383
Type of change
Developer checklist
Testing checklist
QA Steps
Screenshots (if available)