Skip to main content

pyscaffoldext-pre-commit-ruff

Test and Publish Python 🐍 distribution 📦 to PyPI and TestPyPI PyPI Version Python Versions Documentation Status pre-commit enabled Ruff Coverage Status

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.

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)

Source distribution for pyscaffoldext-pre-commit-ruff 1.1.1
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)

Table of built distributions (wheels) for pyscaffoldext-pre-commit-ruff 1.1.1
File Interpreter ABI Platform Actions
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 log

Release 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 log

Security 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.

Select from 2 files

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 log

A 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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page