Skip to content

test for .lean/.md check - #25474

Closed
adomani wants to merge 12 commits into
masterfrom
test/file_extension_check
Closed

adomani wants to merge 12 commits into
masterfrom
test/file_extension_check

Conversation

@adomani

@adomani adomani commented Jun 5, 2025

Copy link
Copy Markdown
Contributor

A test PR for #25473.


Open in Gitpod

@github-actions

github-actions Bot commented Jun 5, 2025 •

Copy link
Copy Markdown

PR summary d5a1880f42

Import changes for modified files

No significant changes to the import graph

Import changes for all files
Files Import difference
Mathlib.NumberTheory.NumberField.CMField -2778

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 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 the relative value divided by the total sum of the inverses of the current values (i.e. the weighted average of the differences).

⚠️ warning: file Mathlib/NumberTheory/NumberField/CMField.lean was renamed to Mathlib/NumberTheory/NumberField/CMField.Lean without a module deprecation

@github-actions github-actions Bot added the file-removed A Lean module was (re)moved without a `deprecated_module` annotation label Jun 5, 2025
@leanprover-community-bot-assistant leanprover-community-bot-assistant added the merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) label Jul 5, 2025
@leanprover-community-bot-assistant

Copy link
Copy Markdown
Contributor

This pull request has conflicts, please merge master and resolve them.

@grunweg grunweg added the t-linter Linter label Aug 4, 2025
@joneugster joneugster added the WIP Work in progress label Feb 1, 2026
mathlib-bors Bot pushed a commit that referenced this pull request Jun 30, 2026
Twice recently there have been files with an "intended" `.lean` extension in `Mathlib/`:
* #24942, ending in `;lean`;
* #25457, ending in `.Lean`.

`mk_all` does not add these files to `Mathlib.lean`, since they do not end in `.lean` and this later causes problems.

This CI step checks that all files in `Mathlib/` end with `.lean` or `.md`.

See #25474 for a test where the new step [correctly fails](https://github.com/leanprover-community/mathlib4/actions/runs/15464097783/job/43532018379?pr=25474).
joelriou pushed a commit to joelriou/mathlib4 that referenced this pull request Jul 4, 2026
…ver-community#25473)

Twice recently there have been files with an "intended" `.lean` extension in `Mathlib/`:
* leanprover-community#24942, ending in `;lean`;
* leanprover-community#25457, ending in `.Lean`.

`mk_all` does not add these files to `Mathlib.lean`, since they do not end in `.lean` and this later causes problems.

This CI step checks that all files in `Mathlib/` end with `.lean` or `.md`.

See leanprover-community#25474 for a test where the new step [correctly fails](https://github.com/leanprover-community/mathlib4/actions/runs/15464097783/job/43532018379?pr=25474).
michaellee94 pushed a commit to michaellee94/mathlib4 that referenced this pull request Jul 11, 2026
…ver-community#25473)

Twice recently there have been files with an "intended" `.lean` extension in `Mathlib/`:
* leanprover-community#24942, ending in `;lean`;
* leanprover-community#25457, ending in `.Lean`.

`mk_all` does not add these files to `Mathlib.lean`, since they do not end in `.lean` and this later causes problems.

This CI step checks that all files in `Mathlib/` end with `.lean` or `.md`.

See leanprover-community#25474 for a test where the new step [correctly fails](https://github.com/leanprover-community/mathlib4/actions/runs/15464097783/job/43532018379?pr=25474).
@joneugster

Copy link
Copy Markdown
Member

Mathlib has moved to PRs from forks. This PR is still from a branch of the main repository and will soon be closed! Please migrate the content to a fork and reopen a PR from there if you wish to do so. See Zulip topic for more instructions. Thank you for contributing to mathlib!

@joneugster joneugster added the will-close-soon Unless something changes, we will close this PR soon label Sep 19, 2026
@joneugster
joneugster marked this pull request as draft September 19, 2026 16:45
@mathlib-bors

mathlib-bors Bot commented Sep 19, 2026

Copy link
Copy Markdown
Contributor

This pull request is now in draft mode. No active bors state needed cleanup.

While this PR remains draft, bors will ignore commands on this PR. Mark it ready for review before using commands like bors r+ or bors try.

@joneugster joneugster closed this Oct 24, 2026
@YaelDillies
YaelDillies deleted the test/file_extension_check branch October 24, 2026 10:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

file-removed A Lean module was (re)moved without a `deprecated_module` annotation merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) t-linter Linter will-close-soon Unless something changes, we will close this PR soon WIP Work in progress

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants