-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BREAK: rename repository to pyright-pre-commit (#2)
This reverts commit c593beb.
- Loading branch information
Showing
1 changed file
with
20 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,21 @@ | ||
# Pyright pre-commit mirror | ||
# Pyright mirror | ||
|
||
> [!WARNING] | ||
> This repository has been archived and is no longer maintained. Please use the [pre-commit hook](https://github.com/RobertCraigie/pyright-python?tab=readme-ov-file#pre-commit) offered by [RobertCraigie/pyright-python](https://github.com/RobertCraigie/pyright-python) instead. | ||
Mirror of [Pyright](https://github.com/microsoft/pyright) for | ||
[pre-commit](https://pre-commit.com), created with | ||
[`pre-commit-mirror-maker`](https://github.com/pre-commit/pre-commit-mirror-maker). | ||
See | ||
[github.com/pre-commit/mirrors-prettier](https://github.com/pre-commit/mirrors-prettier) | ||
for an example of a pre-commit hook for a Node.js package. | ||
|
||
### Using Pyright with pre-commit | ||
|
||
Add this to your `.pre-commit-config.yaml`: | ||
|
||
```yaml | ||
- repo: https://github.com/ComPWA/mirrors-pyright | ||
rev: "" | ||
hooks: | ||
- id: pyright | ||
``` | ||
then run `pre-commit autoupdate`. |