Add a short description here!
Project description
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.
Codespell is added to pre-commit configuration in .pre-commit-config.yaml; uncomment to enable.
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/.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file pyscaffoldext_pre_commit_ruff-1.0.1.tar.gz
.
File metadata
- Download URL: pyscaffoldext_pre_commit_ruff-1.0.1.tar.gz
- Upload date:
- Size: 27.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f866cd0360bece4b0eb52b1c029afb92e58176b3959551498ca989eac8f0afe9 |
|
MD5 | 1dc8ec35da237644870d9d206bec4165 |
|
BLAKE2b-256 | b683da802e6720124980690e8506cec2e1ee1dcd8aae3babcea82298dce0b995 |
Provenance
The following attestation bundles were made for pyscaffoldext_pre_commit_ruff-1.0.1.tar.gz
:
Publisher:
publish-package.yml
on jfishe/pyscaffoldext-pre-commit-ruff
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
pyscaffoldext_pre_commit_ruff-1.0.1.tar.gz
- Subject digest:
f866cd0360bece4b0eb52b1c029afb92e58176b3959551498ca989eac8f0afe9
- Sigstore transparency entry: 150807773
- Sigstore integration time:
- Predicate type:
File details
Details for the file pyscaffoldext_pre_commit_ruff-1.0.1-py3-none-any.whl
.
File metadata
- Download URL: pyscaffoldext_pre_commit_ruff-1.0.1-py3-none-any.whl
- Upload date:
- Size: 7.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dd4a58a0210c73aaf3551dccbb0bf065b538035cab5575a4a95e840f69d0314b |
|
MD5 | 07c10c5bda3aa1c71f85bf840f027fec |
|
BLAKE2b-256 | c59d7e8ce29016f3481644130004a66c45e3e6fb9c9400519f6c651d8b170878 |
Provenance
The following attestation bundles were made for pyscaffoldext_pre_commit_ruff-1.0.1-py3-none-any.whl
:
Publisher:
publish-package.yml
on jfishe/pyscaffoldext-pre-commit-ruff
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
pyscaffoldext_pre_commit_ruff-1.0.1-py3-none-any.whl
- Subject digest:
dd4a58a0210c73aaf3551dccbb0bf065b538035cab5575a4a95e840f69d0314b
- Sigstore transparency entry: 150807774
- Sigstore integration time:
- Predicate type: