Skip to main content

teo-ruff-config-shared

Shared Ruff configuration for consistent Python linting and formatting

License: MIT PyPI Ruff

Part of the @teo-garcia/templates ecosystem


Settings

Setting Value
Target Python 3.12+
Line length 120
Quote style Double
Rule sets E, W, F, I, N, UP, B, S, A, C4, DTZ, T20, SIM, RUF
tests/ S101 ignored

Requirements

  • Python 3.12+
  • Ruff 0.8+

Usage

Install as a dev dependency:

uv add --dev teo-ruff-config-shared

Get the path to the installed config file:

uv run teo-ruff-config-path

Extend it in your pyproject.toml:

[tool.ruff]
extend = "/path/from/teo-ruff-config-path"

For a portable setup, add a Makefile target that generates ruff.extend.toml (gitignored):

ruff-config:
    @echo extend = \"$(shell uv run teo-ruff-config-path)\" > ruff.extend.toml

Then in pyproject.toml:

[tool.ruff]
extend = "ruff.extend.toml"
# framework-specific overrides below

Add ruff.extend.toml to .gitignore.


Package Description
teo-mypy-config-shared mypy type-checking settings
teo-pytest-config-shared pytest and coverage settings

License

MIT


Built by teo-garcia

Metadata

Release files for teo-ruff-config-shared 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for teo-ruff-config-shared 0.1.0
File Size Uploaded Provenance Actions
teo_ruff_config_shared-0.1.0.tar.gz 6.7 kB With provenance Details for teo_ruff_config_shared-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for teo-ruff-config-shared 0.1.0
File Interpreter ABI Platform Actions
teo_ruff_config_shared-0.1.0-py3-none-any.whl Python 3 none any Details for teo_ruff_config_shared-0.1.0-py3-none-any.whl

Total release size: 10.5 kB

Release files / teo_ruff_config_shared-0.1.0.tar.gz

Download URL teo_ruff_config_shared-0.1.0.tar.gz
Size 6.7 kB
Tags Source
SHA-256 checksum
How to use checksums
610e3b620659e858867ec1f382114b91bd3d57b7fbd0ce76673e677ed190c1f9
BLAKE2b-256 checksum
How to use checksums
f08aeef9887c48071fd32ddbf6174f6e24a9f64f776e2dbe1d675f4df0b69952
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 May 7, 2026.

Transparency log

Release files / teo_ruff_config_shared-0.1.0-py3-none-any.whl

Download URL teo_ruff_config_shared-0.1.0-py3-none-any.whl
Size 3.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9bed8048294e6f12e967904c1348ef8ec5f6041a35304020b596d30c4572c950
BLAKE2b-256 checksum
How to use checksums
54fd71842284bf1b32b0f6f5da7b210403b7795e50a716392e55c2584698ccfc
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 May 7, 2026.

Transparency log

Security for teo-ruff-config-shared 0.1.0

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 teo_ruff_config_shared-0.1.0.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 May 7, 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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files Full provenance

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