[Merged by Bors] - refactor: create a LinterSet for all mathlib syntax linters enabled b…#24924
[Merged by Bors] - refactor: create a LinterSet for all mathlib syntax linters enabled b…#24924
Conversation
PR summary 368dba55a3Import changes exceeding 2%
|
| File | Base Count | Head Count | Change |
|---|---|---|---|
| Mathlib.Init | 27 | 28 | +1 (+3.70%) |
Import changes for all files
| Files | Import difference |
|---|---|
| There are 6421 files with changed transitive imports taking up over 270181 characters: this is too many to display! | |
You can run scripts/import_trans_difference.sh all locally to see the whole output. |
Declarations diff
No declarations were harmed in the making of this PR! 🐙
You can run this locally as follows
## summary with just the declaration names:
./scripts/declarations_diff.sh <optional_commit>
## more verbose report:
./scripts/declarations_diff.sh long <optional_commit>The doc-module for script/declarations_diff.sh contains some details about this script.
No changes to technical debt.
You can run this locally as
./scripts/technical-debt-metrics.sh pr_summary
- The
relativevalue is the weighted sum of the differences with weight given by the inverse of the current value of the statistic. - The
absolutevalue is therelativevalue divided by the total sum of the inverses of the current values (i.e. the weighted average of the differences).
d9bf21a to
5a76c90
Compare
Co-authored-by: Anne Baanen <Vierkantor@users.noreply.github.com>
Vierkantor
left a comment
There was a problem hiding this comment.
LGTM otherwise, thanks! I should be doing a lot of the upcoming Lean toolchain release so I should be able merge this immediately when the feature is in. But feel free to poke me if I forget about this :)
Co-authored-by: Anne Baanen <Vierkantor@users.noreply.github.com>
|
This pull request has conflicts, please merge |
|
CI passes now 🎉 @Vierkantor Anything else left to do? |
Vierkantor
left a comment
There was a problem hiding this comment.
I tested to make sure that the non-default linters still fire. So I think this is good to go, thank you!
bors d+
|
✌️ grunweg can now approve this pull request. To approve and merge a pull request, simply reply with |
|
Thanks for the review. Let's see how this one does! |
#24924) …y default Use the new feature added in leanprover/lean4#8106. Co-authored-by: grunweg <rothgami@math.hu-berlin.de> Co-authored-by: Anne C.A. Baanen <vierkantor@vierkantor.com>
|
Pull request successfully merged into master. Build succeeded: |
#24924) …y default Use the new feature added in leanprover/lean4#8106. Co-authored-by: grunweg <rothgami@math.hu-berlin.de> Co-authored-by: Anne C.A. Baanen <vierkantor@vierkantor.com>
#24924) …y default Use the new feature added in leanprover/lean4#8106. Co-authored-by: grunweg <rothgami@math.hu-berlin.de> Co-authored-by: Anne C.A. Baanen <vierkantor@vierkantor.com>
leanprover-community#24924) …y default Use the new feature added in leanprover/lean4#8106. Co-authored-by: grunweg <rothgami@math.hu-berlin.de> Co-authored-by: Anne C.A. Baanen <vierkantor@vierkantor.com>
…y default
Use the new feature added in leanprover/lean4#8106.
The import increase is harmless: this adds one
Leanfile toMathlib.Init, which is small and self-contained.