Skip to content

Commit

Permalink
Make it mirror repository
Browse files Browse the repository at this point in the history
Signed-off-by: Bernát Gábor <[email protected]>
  • Loading branch information
gaborbernat committed Oct 17, 2024
1 parent bcbeff3 commit 822db3e
Show file tree
Hide file tree
Showing 21 changed files with 187 additions and 1,160 deletions.
1 change: 0 additions & 1 deletion .github/workflows/check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ jobs:
- "3.9"
- type
- dev
- pkg_meta
steps:
- uses: actions/checkout@v4
with:
Expand Down
27 changes: 27 additions & 0 deletions .github/workflows/mirror.yaml
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 }}
48 changes: 0 additions & 48 deletions .github/workflows/release.yaml

This file was deleted.

6 changes: 1 addition & 5 deletions .gitignore
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
17 changes: 6 additions & 11 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
9 changes: 0 additions & 9 deletions .readthedocs.yml

This file was deleted.

60 changes: 0 additions & 60 deletions CODE_OF_CONDUCT.md

This file was deleted.

17 changes: 4 additions & 13 deletions README.md
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.
43 changes: 0 additions & 43 deletions docs/conf.py

This file was deleted.

91 changes: 0 additions & 91 deletions docs/index.rst

This file was deleted.

Loading

0 comments on commit 822db3e

Please sign in to comment.