Commit Graph

477 Commits

Author SHA1 Message Date
CoderJoshDK
2b6485a44b
fix: auto release on mirror updates (#83)
As mentioned in #82, there are issues with having a workflow triggered
by the work done by a different workflow. To keep the functionality of
the auto release workflow, the two files are being merged into one.

Closes #82
2024-04-03 20:39:03 -05:00
CoderJoshDK
4025f7f381
feat: use uv for package management (#77)
<!--
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

`uv` is great. So we should use it where we can. 

The cache had to be removed because the workflow breaks currently.
https://github.com/actions/setup-python/issues/822
When this is solved, caching can be brought back in.

## Test Plan

Ran workflow on my local repo.
2024-04-01 23:05:43 -05:00
charliermarsh
0ccbb5b794 Mirror: 0.3.5
Some checks failed
Releases / release (push) Failing after 11s
2024-04-01 17:37:36 +00:00
CoderJoshDK
53e3b33bd4
feat(workflow): auto release on tag creation (#81)
## Summary

Add a GitHub workflow for creating a new release, automatically, when a
new tag is created.

This solves #78. The code is very similar to the changes added in
https://github.com/astral-sh/uv-pre-commit/pull/6

The primary difference, is that the URL points to ruff and this one
checks for if the tag starts with a `v`, but it is optional. This lets
you change ruff versions to not have a `v` in the future. Although the
`mirror.py` will need to be updated.
Speaking of updates to `mirror.py`, I ran `ruff` on it and updated the
`subprocess` to raise an error on failure.

## Test Plan

Locally tested.
2024-03-30 19:17:08 -04:00
CoderJoshDK
6e85b5cd1f
chore: update information (#76)
## Summary

Changes proposed and introduced through:
https://github.com/astral-sh/uv-pre-commit/pull/1 ; are being fixed and
updated for this repo as well.
2024-03-22 17:46:59 -05:00
Github Actions
1986670a8c Mirror: 0.3.4 2024-03-21 19:22:29 +00:00
Github Actions
c22645f6b4 Mirror: 0.3.3 2024-03-15 18:07:19 +00:00
Github Actions
522df5be28 Mirror: 0.3.2 2024-03-09 00:51:59 +00:00
Github Actions
0431f238e5 Mirror: 0.3.1 2024-03-06 22:44:26 +00:00
Github Actions
0dd3437ad9 Mirror: 0.3.0 2024-02-29 15:21:41 +00:00
Github Actions
cc575a3e58 Mirror: 0.2.2 2024-02-17 22:40:20 +00:00
Github Actions
1bd02b3569 Mirror: 0.2.1 2024-02-05 22:30:15 +00:00
Github Actions
ae24203671 Mirror: 0.2.0 2024-02-01 23:23:14 +00:00
Github Actions
bbaf495f2d Mirror: 0.1.15 2024-01-29 23:07:14 +00:00
Github Actions
1d42195ebc Mirror: 0.1.14 2024-01-19 20:20:34 +00:00
Github Actions
abe8946973 Mirror: 0.1.13 2024-01-12 15:59:09 +00:00
Github Actions
0511de30af Mirror: 0.1.12 2024-01-11 22:51:26 +00:00
Github Actions
fbe77be689 Mirror: 0.1.11 2024-01-02 23:00:06 +00:00
Github Actions
10d650cb4b Mirror: 0.1.10 2024-01-02 18:23:47 +00:00
Github Actions
7bcc70ca47 Mirror: 0.1.9 2023-12-21 18:43:43 +00:00
Github Actions
d7c4946c7c Mirror: 0.1.8 2023-12-13 19:11:31 +00:00
Github Actions
a6ff26895e Mirror: 0.1.7 2023-12-04 21:55:57 +00:00
Github Actions
75d1925b52 Mirror: 0.1.6 2023-11-17 18:47:15 +00:00
Github Actions
3d440bd6c6 Mirror: 0.1.5 2023-11-08 23:12:19 +00:00
Charlie Marsh
f1ef5ac6b5
Update pre-commit documentation (#57)
I got some feedback on Mastodon that it wasn't clear how to use the
linter and formatter together in pre-commit.

This also removes `--exit-non-zero-on-fix`, since pre-commit already
exits if files are changed, and changes our recommendation to always put
the formatter after the linter, since if a previous tool ends up
committing changes, pre-commit should fail anyway.
2023-11-07 13:33:28 -05:00
Github Actions
3dacd83b1e Mirror: 0.1.4 2023-11-03 21:31:21 +00:00
Henry Schreiner
76536a3fe1
docs: remove alpha designation on ruff-format (#56)
I think this was old?
2023-10-27 15:28:12 -04:00
Github Actions
8a43105c59 Mirror: 0.1.3 2023-10-26 19:27:28 +00:00
Github Actions
00ca9a349a Mirror: 0.1.2 2023-10-24 15:54:57 +00:00
Github Actions
51ae37a780 Mirror: 0.1.1 2023-10-19 21:22:21 +00:00
Github Actions
382100c524 Mirror: 0.1.0 2023-10-16 19:41:47 +00:00
Github Actions
42f98979db Mirror: 0.0.292 2023-10-02 17:15:54 +00: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
e5fa9aeaf1 Bump README.md version to 0.0.291 2023-09-22 17:58:28 +00: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
1b38aa0ddb Bump README.md version to 0.0.290 2023-09-15 21:21:01 +00:00
Github Actions
55147f81dc Mirror: 0.0.290 2023-09-15 21:21:00 +00:00
Github Actions
0b90c17c1a Bump README.md version to 0.0.289 2023-09-15 20:06:07 +00:00
Zanie Blue
277125742a
Bump version to 0.0.290; update required formatter revision (#51) 2023-09-15 14:37:18 -05:00
Zanie
5accf96811 Require main revision until next release of pre-commit 2023-09-12 15:54:47 -05:00
Zanie
25507cf2f9 Drop the revision from the formatter examples 2023-09-12 15:50:37 -05:00
Zanie Blue
caa92debff
Add alpha formatter support (#50) 2023-09-12 15:49:39 -05:00
Github Actions
9845d84394 Bump README.md version to 0.0.289 2023-09-12 16:43:37 +00:00
Github Actions
36c161038e Mirror: 0.0.289 2023-09-12 16:43:36 +00:00
Github Actions
2f86fcef83 Bump README.md version to 0.0.288 2023-09-11 17:08:33 +00:00
Github Actions
36d09b6e15 Mirror: 0.0.288 2023-09-11 17:08:31 +00:00
Github Actions
3a6d4075bf Bump README.md version to 0.0.287 2023-09-01 17:09:38 +00:00
Github Actions
47023bed2b Mirror: 0.0.287 2023-09-01 17:09:37 +00:00