chore: move test files and recapitalise file names (part 2)#39681
chore: move test files and recapitalise file names (part 2)#39681joneugster wants to merge 2 commits into
Conversation
PR summary 86fd22c480Import changes for modified filesNo significant changes to the import graph Import changes for all files
|
67f7481 to
7fbff92
Compare
grunweg
left a comment
There was a problem hiding this comment.
Thanks. Some tweaks that would be good:
- keep
ValidatePRTitlewhere it is, maybe? (It is not a syntax or environment linter.) Linter/PrivateModuleLintercan becomeLinter/PrivateModule, I guess?
(Only skimmed the rest so far.)
|
Done that :) |
grunweg
left a comment
There was a problem hiding this comment.
Thanks. A few more (kind of pre-existing) comments.
awaiting-author
| import Mathlib.Tactic.Linter.DocPrime | ||
| import Mathlib.Tactic.Linter.DocString | ||
|
|
||
| deprecated_module (since := "2025-04-10") |
There was a problem hiding this comment.
How about DeprecatedModule/Basic.lean (or so)?
| module | ||
|
|
||
| import all MathlibTest.DeprecatedModuleNew | ||
| import all MathlibTest.Linter.DeprecatedModule.DeprecatedModuleNew |
There was a problem hiding this comment.
and ImportAll.lean here --- perhaps with adding a brief module doc-string what this tests?
| module | ||
|
|
||
| meta import MathlibTest.DeprecatedModuleNew | ||
| meta import MathlibTest.Linter.DeprecatedModule.DeprecatedModuleNew |
There was a problem hiding this comment.
Not sure how to name this one... can you do the git archeology here? Sorry...
| module | ||
|
|
||
| public meta import MathlibTest.DeprecatedModuleNew | ||
| public meta import MathlibTest.Linter.DeprecatedModule.DeprecatedModuleNew |
There was a problem hiding this comment.
PublicMetaImport.lean maybe?
| module | ||
|
|
||
| public import MathlibTest.DeprecatedModuleNew | ||
| public import MathlibTest.Linter.DeprecatedModule.DeprecatedModuleNew |
|
|
||
| /-- | ||
| warning: We can also give more details about the deprecation | ||
| 'MathlibTest.DeprecatedModule' has been deprecated: please replace this import by |
There was a problem hiding this comment.
... and find a good name here.
There was a problem hiding this comment.
Should this be DeprecatedSyntax.lean instead (and perhaps the linter file also renamed)?
Moves all test files about linters to a folder
Linterand capitalises their names.