Skip to content

[Merged by Bors] - fix: add a space to the pretty printer for deprecated_module - #24864

Closed
adomani wants to merge 1 commit into
masterfrom
adomani/ppSpace_for_deprecated_module
Closed

adomani wants to merge 1 commit into
masterfrom
adomani/ppSpace_for_deprecated_module

Conversation

@adomani

@adomani adomani commented May 13, 2025 •

Copy link
Copy Markdown
Contributor

This was discovered while developing #24861.

Without this change,

deprecated_module "hello" (since := "YYYY-MM-DD")

gets pretty-printed as

deprecated_module "hello"(since := "YYYY-MM-DD")

Note the missing space between "hello" and (since...)!


Open in Gitpod

@github-actions github-actions Bot added the t-linter Linter label May 13, 2025
@github-actions

Copy link
Copy Markdown

PR summary 465764cbb9

Import changes for modified files

No significant changes to the import graph

Import changes for all files
Files Import difference

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).

@eric-wieser

Copy link
Copy Markdown
Member

bors merge

Thanks!

@ghost ghost added the ready-to-merge This PR has been sent to bors. label May 13, 2025
mathlib-bors Bot pushed a commit that referenced this pull request May 13, 2025
This was discovered while developing #24861.

Without this change,
```lean
deprecated_module "hello" (since := "YYYY-MM-DD")
```
gets pretty-printed as
```lean
deprecated_module "hello"(since := "YYYY-MM-DD")
```
Note the missing space between `"hello"` and `(since...)`!
@eric-wieser eric-wieser changed the title fix(pp deprecated module): add a space to the pretty printer fix: add a space to the pretty printer for deprecated_module May 13, 2025
@eric-wieser

Copy link
Copy Markdown
Member

bors r-

@mathlib-bors

mathlib-bors Bot commented May 13, 2025

Copy link
Copy Markdown
Contributor

Canceled.

@eric-wieser

Copy link
Copy Markdown
Member

bors r+

@ghost ghost added ready-to-merge This PR has been sent to bors. and removed ready-to-merge This PR has been sent to bors. labels May 13, 2025
mathlib-bors Bot pushed a commit that referenced this pull request May 13, 2025
This was discovered while developing #24861.

Without this change,
```lean
deprecated_module "hello" (since := "YYYY-MM-DD")
```
gets pretty-printed as
```lean
deprecated_module "hello"(since := "YYYY-MM-DD")
```
Note the missing space between `"hello"` and `(since...)`!
@mathlib-bors

mathlib-bors Bot commented May 13, 2025

Copy link
Copy Markdown
Contributor

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors Bot changed the title fix: add a space to the pretty printer for deprecated_module [Merged by Bors] - fix: add a space to the pretty printer for deprecated_module May 13, 2025
@mathlib-bors mathlib-bors Bot closed this May 13, 2025
@mathlib-bors
mathlib-bors Bot deleted the adomani/ppSpace_for_deprecated_module branch May 13, 2025 23:35
jano-wol pushed a commit that referenced this pull request May 16, 2025
This was discovered while developing #24861.

Without this change,
```lean
deprecated_module "hello" (since := "YYYY-MM-DD")
```
gets pretty-printed as
```lean
deprecated_module "hello"(since := "YYYY-MM-DD")
```
Note the missing space between `"hello"` and `(since...)`!
bwehlin pushed a commit to bwehlin/mathlib4 that referenced this pull request May 31, 2025
…rover-community#24864)

This was discovered while developing leanprover-community#24861.

Without this change,
```lean
deprecated_module "hello" (since := "YYYY-MM-DD")
```
gets pretty-printed as
```lean
deprecated_module "hello"(since := "YYYY-MM-DD")
```
Note the missing space between `"hello"` and `(since...)`!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-to-merge This PR has been sent to bors. t-linter Linter

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants