Skip to content

[Merged by Bors] - style: remove all isolated where#12991

Closed
Komyyy wants to merge 1 commit intomasterfrom
Komyyy/where
Closed

[Merged by Bors] - style: remove all isolated where#12991
Komyyy wants to merge 1 commit intomasterfrom
Komyyy/where

Conversation

@Komyyy
Copy link
Copy Markdown
Contributor

@Komyyy Komyyy commented May 17, 2024


Open in Gitpod

@Komyyy Komyyy added awaiting-review awaiting-CI This PR does not pass CI yet. This label is automatically removed once it does. labels May 17, 2024
@Komyyy Komyyy requested a review from urkud May 17, 2024 16:44
@github-actions github-actions bot removed the awaiting-CI This PR does not pass CI yet. This label is automatically removed once it does. label May 17, 2024
@joelriou
Copy link
Copy Markdown
Contributor

Thanks for doing this!

bors merge

@github-actions github-actions bot added ready-to-merge This PR has been sent to bors. and removed awaiting-review labels May 17, 2024
mathlib-bors bot pushed a commit that referenced this pull request May 17, 2024
@Komyyy Komyyy removed the request for review from urkud May 17, 2024 19:59
@mathlib-bors
Copy link
Copy Markdown
Contributor

mathlib-bors bot commented May 17, 2024

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors bot changed the title style: remove all isolated where [Merged by Bors] - style: remove all isolated where May 17, 2024
@mathlib-bors mathlib-bors bot closed this May 17, 2024
@mathlib-bors mathlib-bors bot deleted the Komyyy/where branch May 17, 2024 20:13
callesonne pushed a commit that referenced this pull request Jun 4, 2024
mathlib-bors bot pushed a commit that referenced this pull request Jun 19, 2024
Extend the style linter with two tiny features:
- lint on "isolated where": all occurrences were already fixed in #12991 and #13202.
- lint on "leading by": if one line starts with `by ` but the previous line ends with `:=`, according to the style guide the `by` should move to the previous line. For now, we only lint if the `by` fits on the previous line (fixed in #13618 and predecessors): there about other 28 cases in mathlib which don't have an obvious fix.
AntoineChambert-Loir pushed a commit that referenced this pull request Jun 20, 2024
Extend the style linter with two tiny features:
- lint on "isolated where": all occurrences were already fixed in #12991 and #13202.
- lint on "leading by": if one line starts with `by ` but the previous line ends with `:=`, according to the style guide the `by` should move to the previous line. For now, we only lint if the `by` fits on the previous line (fixed in #13618 and predecessors): there about other 28 cases in mathlib which don't have an obvious fix.
grunweg added a commit that referenced this pull request Jun 20, 2024
Extend the style linter with two tiny features:
- lint on "isolated where": all occurrences were already fixed in #12991 and #13202.
- lint on "leading by": if one line starts with `by ` but the previous line ends with `:=`, according to the style guide the `by` should move to the previous line. For now, we only lint if the `by` fits on the previous line (fixed in #13618 and predecessors): there about other 28 cases in mathlib which don't have an obvious fix.
kbuzzard pushed a commit that referenced this pull request Jun 26, 2024
Extend the style linter with two tiny features:
- lint on "isolated where": all occurrences were already fixed in #12991 and #13202.
- lint on "leading by": if one line starts with `by ` but the previous line ends with `:=`, according to the style guide the `by` should move to the previous line. For now, we only lint if the `by` fits on the previous line (fixed in #13618 and predecessors): there about other 28 cases in mathlib which don't have an obvious fix.
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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants