Skip to content

feat: #-command linter in Tactic.Basic.#11028

Closed
adomani wants to merge 68 commits intomasterfrom
adomani/hast_command_lint-a-lot
Closed

feat: #-command linter in Tactic.Basic.#11028
adomani wants to merge 68 commits intomasterfrom
adomani/hast_command_lint-a-lot

Conversation

@adomani
Copy link
Copy Markdown
Contributor

@adomani adomani commented Feb 27, 2024

This PR is a companion to #11019. The main difference is that this PR places the #-command linter in Mathlib.Tactic.Basic, so that it actually lints most of Mathlib.

Other than that, the "main" file Mathlib.Tactic.HashCommandLinter should be identical in the two PRs.


Open in Gitpod

@adomani adomani added awaiting-review t-meta Tactics, attributes or user commands labels Feb 27, 2024
@ghost ghost added the blocked-by-other-PR This PR depends on another PR (this label is automatically managed by a bot) label Feb 27, 2024
@ghost
Copy link
Copy Markdown

ghost commented Feb 27, 2024

This PR/issue depends on:

@ghost ghost added the merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) label Mar 6, 2024
@ghost ghost removed the merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) label Mar 30, 2024
@ghost ghost added the merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) label May 2, 2024
@ghost ghost removed the merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) label May 9, 2024
@ghost ghost added the merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) label May 15, 2024
@grunweg
Copy link
Copy Markdown
Contributor

grunweg commented May 23, 2024

#11019 was updated to also add the linter to Tactic.Common --- I presume this PR can be closed now?
(Or should Tactic/Linters/Lint.lean be rather imported in Tactic.Basic? In any case, that can be a follow-up PR.)

@adomani
Copy link
Copy Markdown
Contributor Author

adomani commented May 23, 2024

This PR can be closed. Especially with linters, I sometimes prepare two PRs:

  • one containing just the "inactive" linter, to focus on the implementation;
  • the other with the "active" linter and all the modifications that it implies.

This one is now obsolete. Also, I am happy to use the new Linter folder and place the import there!

@adomani adomani closed this May 23, 2024
@YaelDillies YaelDillies deleted the adomani/hast_command_lint-a-lot branch August 15, 2025 16:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

blocked-by-other-PR This PR depends on another PR (this label is automatically managed by a bot) merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) t-meta Tactics, attributes or user commands

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants