Repository navigation
Conversation
There is an in-progress PR batteries to the same effect: when that PR lands, this linter can be removed. Both implement basically the same logic. This linter is consciously not rewritten as a syntax linter, as a fair number of mathlib contributors have their text editor configured to remove trailing whitespace when saving: with such configurations, in effect, the linter would only fire intermittently (such as, between keypresses), which is not helpful. Running this as a text-based linter in CI, which is auto-fixable, is far more helpful.
PR summary 4a35d697bcImport changes for modified filesNo significant changes to the import graph Import changes for all files
Declarations diff
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
|
930f60f to
2f91482
Compare
|
Actually, this reveals a bug in the suggested auto-fix: while |
|
bors d+ |
|
✌️ grunweg can now approve this pull request. To approve and merge a pull request, simply reply with |
|
This PR/issue depends on: |
|
I understand the problem now. so, merging this without the fix would mean it will trigger on each future PR? In that case, I think it would be best to mark this |
|
an easy hack could be to just use |
…ight now. All known false positives would just trigger on the linter implementation, where we can avoid it differently.
Great idea, thanks! I've just done so. If CI comes back green, I will merge the linter. |
|
bors merge |
A fix about 30 violations which have crept into mathlib in the mean-time. Co-authored-by: Michael Rothgang <[email protected]>
|
Pull request successfully merged into master. Build succeeded: |
A fix about 30 violations which have crept into mathlib in the mean-time.