[Merged by Bors] - chore: split test file for differential geometry elaborators#30412
[Merged by Bors] - chore: split test file for differential geometry elaborators#30412grunweg wants to merge 2 commits intoleanprover-community:masterfrom
Conversation
PR summary 6652a12058Import changes for modified filesNo significant changes to the import graph Import changes for all files
Declarations diffNo 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 No changes to technical debt.You can run this locally as
|
|
This pull request has conflicts, please merge |
c6a0834 to
5755031
Compare
5755031 to
7b4fe0b
Compare
The test file was getting quite long (with more tests to come for future features), and accumulating too many imports: once mathlib was tweaked to make use of the elaborators, recompilation after a basic change would take too long. Split it into a basic file with minimal imports, and another file for all more advanced features.
7b4fe0b to
f8e3518
Compare
|
This PR/issue depends on: |
| import Mathlib.Geometry.Manifold.VectorField.LieBracket | ||
| /-! | ||
| # Tests for the differential geometry elaborators which require stronger imports | ||
|
|
||
| -/ |
There was a problem hiding this comment.
| import Mathlib.Geometry.Manifold.VectorField.LieBracket | |
| /-! | |
| # Tests for the differential geometry elaborators which require stronger imports | |
| -/ | |
| import Mathlib.Geometry.Manifold.VectorField.LieBracket | |
| /-! | |
| # Tests for the differential geometry elaborators which require stronger imports | |
| -/ |
There was a problem hiding this comment.
Thanks for the quick review! I have change the second part of your suggestion, but not the first one: my impression is that including a blank line between the imports and module doc-string is actually much more common in mathlib.
Let's check: searching for import \S*\n/-! in VS Code yields 186 hits, whereas there are 6802 hits for import \S*\n\n/-! (with a newline in between), and 18 for two blank lines. So, I'll stay with the vast mathlib majority here.
There was a problem hiding this comment.
(I'd review a PR normalising the 18 files with excessive newlines. You could try proposing a style rule on this; I'm not sure if this gets into excessive bikeshedding or not. The different is large enough that this might be fine.)
|
I double-checked, and all of the tests indeed seem to have made it through the split in one piece! :) maintainer delegate |
|
🚀 Pull request has been placed on the maintainer queue by thorimur. |
|
Thanks! |
|
✌️ grunweg can now approve this pull request. To approve and merge a pull request, simply reply with |
|
bors merge |
The test file was getting quite long (with more tests to come for future features), and accumulating too many imports: once mathlib was tweaked to make use of the elaborators, recompilation after a basic change would take too long. Split it into a basic file with minimal imports, and another file for all more advanced features.
|
Pull request successfully merged into master. Build succeeded: |
…ver-community#30412) The test file was getting quite long (with more tests to come for future features), and accumulating too many imports: once mathlib was tweaked to make use of the elaborators, recompilation after a basic change would take too long. Split it into a basic file with minimal imports, and another file for all more advanced features.
…ver-community#30412) The test file was getting quite long (with more tests to come for future features), and accumulating too many imports: once mathlib was tweaked to make use of the elaborators, recompilation after a basic change would take too long. Split it into a basic file with minimal imports, and another file for all more advanced features.
The test file was getting quite long (with more tests to come for future features), and accumulating too many imports: once mathlib was tweaked to make use of the elaborators, recompilation after a basic change would take too long.
Split it into a basic file with minimal imports, and another file for all more advanced features.