pyscaffoldext-pre-commit-ruff
PyScaffold extension to use the Ruff Linter and Ruff Formatter in place of the Pre Commit Extension, putup --pre-commit defaults flake8 and isort.
The ruff configuration is added to pyproject.toml because ruff does not support setup.cfg. Some Ruff Linter recommended settings are commented out, for consistency with PyScaffold’s flake8 settings.
Uncomment to enable pre-commit additional hook in .pre-commit-config.yaml.
pre-commit-hooks name-tests-test --pytest-test-first.
Mypy settings are added to setup.cfg.
Usage
Just install this package with pip install pyscaffoldext-pre-commit-ruff and note that putup -h shows a new option --pre-commit-ruff. Use this flag to use the Ruff Linter and Ruff Formatter in place of putup --pre-commit defaults flake8 and isort.
Making Changes & Contributing
This project uses pre-commit, please make sure to install it before making any changes:
uv tool install pre-commit cd pyscaffoldext-pre-commit-ruff pre-commit install
It is a good idea to update the hooks to the latest version:
pre-commit autoupdate
Note
This project has been set up using PyScaffold 4.6. For details and usage information on PyScaffold see https://pyscaffold.org/.
Metadata
Release files for pyscaffoldext-pre-commit-ruff 1.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pyscaffoldext_pre_commit_ruff-1.1.1.tar.gz | 29.0 kB | With provenance | Details for pyscaffoldext_pre_commit_ruff-1.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pyscaffoldext_pre_commit_ruff-1.1.1-py3-none-any.whl | Python 3 | none | any | Details for pyscaffoldext_pre_commit_ruff-1.1.1-py3-none-any.whl |
Total release size: 37.3 kB
Release files / pyscaffoldext_pre_commit_ruff-1.1.1.tar.gz
| Download URL | pyscaffoldext_pre_commit_ruff-1.1.1.tar.gz |
|---|---|
| Size | 29.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5e64c33813c8231107d97be3d11a5ef0a50fed19210c3f695785c02b9638ceb2
|
|
BLAKE2b-256 checksum How to use checksums |
ef2e0731169934fffe315749e462288500d621268395a84a86dba72ee38ac82d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 11, 2026.
Transparency logRelease files / pyscaffoldext_pre_commit_ruff-1.1.1-py3-none-any.whl
| Download URL | pyscaffoldext_pre_commit_ruff-1.1.1-py3-none-any.whl |
|---|---|
| Size | 8.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a0fb56ef96ec1eb85c622824fb462bda68f3eb1baaaa93970c8bce1baf9bdbd1
|
|
BLAKE2b-256 checksum How to use checksums |
f9f4af7baccb180615a0e70b4e8d7774e9796e198a120b65b79d03a4512a8b99
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 11, 2026.
Transparency logSecurity for pyscaffoldext-pre-commit-ruff 1.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for pyscaffoldext_pre_commit_ruff-1.1.1.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 11, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.