-
-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Bernát Gábor <[email protected]>
- Loading branch information
1 parent
bcbeff3
commit 822db3e
Showing
21 changed files
with
187 additions
and
1,160 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 |
---|---|---|
|
@@ -26,7 +26,6 @@ jobs: | |
- "3.9" | ||
- type | ||
- dev | ||
- pkg_meta | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
|
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 |
---|---|---|
@@ -0,0 +1,27 @@ | ||
name: Mirror | ||
on: | ||
workflow_dispatch: | ||
push: | ||
branches: ["main"] | ||
tags-ignore: ["**"] | ||
pull_request: | ||
schedule: | ||
- cron: "0 8 * * *" | ||
|
||
concurrency: | ||
group: check-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
- name: Install the latest version of uv | ||
uses: astral-sh/setup-uv@v3 | ||
with: | ||
enable-cache: true | ||
cache-dependency-glob: "pyproject.toml" | ||
github-token: ${{ secrets.GITHUB_TOKEN }} |
This file was deleted.
Oops, something went wrong.
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,7 +1,3 @@ | ||
*.egg-info/ | ||
.tox/ | ||
.*_cache | ||
.tox | ||
__pycache__ | ||
**.pyc | ||
dist | ||
/src/pyproject_fmt/_version.py |
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 |
---|---|---|
|
@@ -13,29 +13,24 @@ repos: | |
rev: v2.3.0 | ||
hooks: | ||
- id: codespell | ||
additional_dependencies: ["tomli>=2.0.2"] | ||
- repo: https://github.com/tox-dev/tox-ini-fmt | ||
rev: "1.4.1" | ||
hooks: | ||
- id: tox-ini-fmt | ||
args: ["-p", "fix"] | ||
additional_dependencies: ["tomli>=2.0.1"] | ||
- repo: https://github.com/tox-dev/pyproject-fmt | ||
rev: "2.3.0" | ||
rev: "2.3.1" | ||
hooks: | ||
- id: pyproject-fmt | ||
- repo: https://github.com/astral-sh/ruff-pre-commit | ||
rev: "v0.6.9" | ||
hooks: | ||
- id: ruff-format | ||
args: ["--config", "pyproject.toml"] | ||
- id: ruff | ||
args: ["--fix", "--unsafe-fixes", "--exit-non-zero-on-fix"] | ||
args: ["--fix", "--unsafe-fixes", "--exit-non-zero-on-fix", "--config", "pyproject.toml"] | ||
- repo: https://github.com/rbubley/mirrors-prettier | ||
rev: "v3.3.3" | ||
hooks: | ||
- id: prettier | ||
additional_dependencies: | ||
- [email protected] | ||
- "@prettier/[email protected]" | ||
name: Prettier | ||
args: ["--print-width=120", "--prose-wrap=always"] | ||
- repo: meta | ||
hooks: | ||
- id: check-hooks-apply | ||
|
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,14 +1,5 @@ | ||
# pyproject-fmt | ||
# pyproject-fmt mirror | ||
|
||
Migrated into the [toml-fmt](https://github.com/gaborbernat/toml-fmt) repository. | ||
|
||
[![PyPI](https://img.shields.io/pypi/v/pyproject-fmt?style=flat-square)](https://pypi.org/project/pyproject-fmt) | ||
[![PyPI - Implementation](https://img.shields.io/pypi/implementation/pyproject-fmt?style=flat-square)](https://pypi.org/project/pyproject-fmt) | ||
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/pyproject-fmt?style=flat-square)](https://pypi.org/project/pyproject-fmt) | ||
[![Downloads](https://static.pepy.tech/badge/pyproject-fmt/month)](https://pepy.tech/project/pyproject-fmt) | ||
[![PyPI - License](https://img.shields.io/pypi/l/pyproject-fmt?style=flat-square)](https://opensource.org/licenses/MIT) | ||
[![check](https://github.com/tox-dev/pyproject-fmt/actions/workflows/check.yaml/badge.svg)](https://github.com/tox-dev/pyproject-fmt/actions/workflows/check.yaml) | ||
|
||
Apply a consistent format to the `pyproject.toml` files. | ||
|
||
[For more information on how to use or configure read the documentation here](https://pyproject-fmt.readthedocs.io/en/latest/). | ||
The source code for this project now lives inside | ||
[toml-fmt](https://github.com/tox-dev/toml-fmt/tree/main/pyproject-fmt), this repository serves only as a mirror for | ||
pre-commit. |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.