-
Notifications
You must be signed in to change notification settings - Fork 341
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
[Merged by Bors] - chore: more simpNF cleanup #19395
Conversation
PR summary 5f7bf84551Import changes for modified filesNo significant changes to the import graph Import changes for all files
|
Current number | Change | Type |
---|---|---|
5060 | -25 | porting notes |
207 | -14 | disabled simpNF lints |
Current commit 5f7bf84551
Reference commit 43c93172bd
You can run this locally as
./scripts/technical-debt-metrics.sh pr_summary
- The
relative
value is the weighted sum of the differences with weight given by the inverse of the current value of the statistic. - The
absolute
value is therelative
value divided by the total sum of the inverses of the current values (i.e. the weighted average of the differences).
Mathlib/NumberTheory/Modular.lean
Outdated
@@ -181,7 +181,7 @@ def lcRow0Extend {cd : Fin 2 → ℤ} (hcd : IsCoprime (cd 0) (cd 1)) : | |||
exact hcd.sq_add_sq_ne_zero, LinearEquiv.refl ℝ (Fin 2 → ℝ)] | |||
|
|||
-- `simpNF` times out, but only in CI where all of `Mathlib` is imported | |||
attribute [nolint simpNF] lcRow0Extend_apply lcRow0Extend_symm_apply | |||
-- attribute [nolint simpNF] lcRow0Extend_apply lcRow0Extend_symm_apply |
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.
Still checking in CI.
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.
It looks like CI liked the change!
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.
Thanks: this looks good to me!
bors d+
Mathlib/NumberTheory/Modular.lean
Outdated
@@ -181,7 +181,7 @@ def lcRow0Extend {cd : Fin 2 → ℤ} (hcd : IsCoprime (cd 0) (cd 1)) : | |||
exact hcd.sq_add_sq_ne_zero, LinearEquiv.refl ℝ (Fin 2 → ℝ)] | |||
|
|||
-- `simpNF` times out, but only in CI where all of `Mathlib` is imported | |||
attribute [nolint simpNF] lcRow0Extend_apply lcRow0Extend_symm_apply | |||
-- attribute [nolint simpNF] lcRow0Extend_apply lcRow0Extend_symm_apply |
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.
It looks like CI liked the change!
✌️ kim-em can now approve this pull request. To approve and merge a pull request, simply reply with |
bors merge |
Pull request successfully merged into master. Build succeeded: |
No description provided.