Commit Graph

22 Commits

Author SHA1 Message Date
Adam Turner
39f54b73c7
Add and prefer the ruff-check pre-commit ID (#124)
## Summary

Towards #123. Introduces the `ruff-check` pre-commit hook ID, updates
documentation to prefer it, but retains the `ruff` ID for compatibility.
2025-05-13 18:46:04 +05:30
Henry Schreiner
20d9ac3f11
Check Jupyter notebooks by default, in sync with 0.6.0 (#96) 2024-08-15 17:25:51 +01:00
Subin Kim
ba4269e9c6
feat: Update pre-commit mirror script (#53)
<!--
Thank you for contributing to Ruff! To help us out with reviewing,
please consider the following:

- Does this pull request include a summary of the change? (See below.)
- Does this pull request include a descriptive title?
- Does this pull request include references to any relevant issues?
-->

## Summary

<!-- What's the purpose of the change? What does it do, and why? -->

- `pre-commit-mirror-maker` is not suitable for generating multiple
hooks in single `.pre-commit-hooks.yaml` file.
- So replaced the script and github workflows.

## Test Plan

<!-- How was it tested? -->

- Update `pyproject.toml`'s `ruff==0.0.290` into `ruff==0.0.289`, and
run the script.

```sh
$ python3 mirror.py
...
```
2023-09-26 10:38:22 -05:00
Zanie Blue
146c621c9f Restore ruff-format hook (#52)
Deleted by automation in
55147f81dc
2023-09-22 14:07:08 -04:00
Github Actions
e6d90feffc Mirror: 0.0.291 2023-09-22 17:58:26 +00:00
Zanie Blue
6fcbf19c7c
Restore ruff-format hook (#52)
Deleted by automation in
55147f81dc
2023-09-15 17:08:19 -05:00
Github Actions
55147f81dc Mirror: 0.0.290 2023-09-15 21:21:00 +00:00
Zanie Blue
caa92debff
Add alpha formatter support (#50) 2023-09-12 15:49:39 -05:00
Jonathan Plasse
6a0ba18549
Add check to entry (#32) 2023-03-02 10:24:35 -05:00
Github Actions
aa446bc4da Mirror: 0.0.230 2023-01-22 20:06:01 +00:00
Github Actions
380e8f2639 Mirror: 0.0.229 2023-01-21 19:31:49 +00:00
Henry Schreiner
99c84d0468
feat: always add --no-force-exclude (#20)
Closes #19.

Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
2023-01-20 14:23:42 -05:00
Github Actions
d21ecbf143 Mirror: 0.0.224 2023-01-17 05:11:01 +00:00
Github Actions
affc25d7c4 Mirror: 0.0.151 2022-12-03 00:06:25 +00:00
Charlie Marsh
bb75b59a85
Add require_serial: true (#10) 2022-12-02 12:46:28 -05:00
Charlie Marsh
f7845095c6
Add support for .pyi files (#9) 2022-12-02 12:45:51 -05:00
Charlie Marsh
b3300d9ad0 Run Prettier 2022-12-02 12:45:21 -05:00
Github Actions
04b6e6e82a Mirror: 0.0.86 2022-10-27 21:18:00 +00:00
Trevor Gross
301fe68ff7
Deprecate hook name lint; add hook name ruff (#4) 2022-10-27 17:05:41 -04:00
Github Actions
77ee909400 Mirror: 0.0.13 2022-10-12 15:16:21 +00:00
Github Actions
e59111e0ee Mirror: 0.0.13 2022-10-12 14:03:31 +00:00
Charlie Marsh
0ac4c52e6a Add standalone pre-commit hook 2022-09-19 21:04:28 -06:00