-
Notifications
You must be signed in to change notification settings - Fork 985
[Merged by Bors] - feat: a linter to enforce formatting #24465
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
✌️ adomani can now approve this pull request. To approve and merge a pull request, simply reply with |
Co-authored-by: Anne Baanen <[email protected]>
adomani
left a comment
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.
Anne and Michael, thank you so much for your reviews! I accepted all the suggestions and added some comments to the code.
I'll merge master, fix any further issues if necessary and merge!
0132186 to
eafbad4
Compare
|
bors merge Finally! 😄 |
This linter enforces that the hypotheses of every declaration are correctly formatted. This already required multiple PRs to make mathlib compliant. Ideally, little by little the linter can be extended to format more of mathlib. Co-authored-by: Michael Rothgang <[email protected]> Co-authored-by: grunweg <[email protected]>
|
Pull request successfully merged into master. Build succeeded: |
This linter enforces that the hypotheses of every declaration are correctly formatted. This already required multiple PRs to make mathlib compliant. Ideally, little by little the linter can be extended to format more of mathlib. Co-authored-by: Michael Rothgang <[email protected]> Co-authored-by: grunweg <[email protected]>
This linter enforces that the hypotheses of every declaration are correctly formatted. This already required multiple PRs to make mathlib compliant. Ideally, little by little the linter can be extended to format more of mathlib. Co-authored-by: Michael Rothgang <[email protected]> Co-authored-by: grunweg <[email protected]>
Found by the linter in leanprover-community#24465. Co-authored-by: Michael Rothgang <[email protected]> Co-authored-by: grunweg <[email protected]>
This linter enforces that the hypotheses of every declaration are correctly formatted. This already required multiple PRs to make mathlib compliant. Ideally, little by little the linter can be extended to format more of mathlib. Co-authored-by: Michael Rothgang <[email protected]> Co-authored-by: grunweg <[email protected]>
This linter enforces that the hypotheses of every declaration are correctly formatted.
This already required multiple PRs to make mathlib compliant. Ideally, little by little the linter can be extended to format more of mathlib.
The default linter option is
false, but the lakefile enforces it to betrue.This means that the linter does not run on
MathlibTest. However, the tests should still be compliant, since the default option wastruein development and the tests were fixed.