Skip to main content

A Python test quality toolkit written in Rust

Project description

tq logo

tq - Test Quality Toolkit

Documentation

tq inspects a codebase's tests and enforces quality rules so tests remain discoverable, focused, actionable, and maintainable.

Installation

PyPI distribution name: tqlint

Add to a project:

uv add --dev tqlint
uv run tq check

Run without installing (ephemeral):

uvx --from tqlint tq check

Install as a persistent global tool:

uv tool install tqlint
tq check

Install with pip:

python -m pip install tqlint
tq check

Note: uvx tq check is not currently available because the tq package name on PyPI is owned by another project. Use uvx --from tqlint tq ... for ephemeral runs.

Usage

Run checks:

uv run tq check

Configuration

Configure tq in pyproject.toml under [tool.tq]:

[tool.tq]
init_modules = "ignore"
max_test_file_non_blank_lines = 600
qualifier_strategy = "allowlist"
allowed_qualifiers = ["regression"]

[[tool.tq.targets]]
name = "tq"
package = "tq"
source_root = "src"
test_root = "tests"

Documentation

tq documentation

Language support

tq currently only analyzes Python source and Python tests (.py).

Development

Contributions are welcomed!

Contribution guidelines and development setup steps are documented in CONTRIBUTING.md.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tqlint-0.11.3.tar.gz (38.3 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

tqlint-0.11.3-py3-none-win_amd64.whl (574.0 kB view details)

Uploaded Python 3Windows x86-64

tqlint-0.11.3-py3-none-manylinux_2_31_x86_64.whl (684.9 kB view details)

Uploaded Python 3manylinux: glibc 2.31+ x86-64

tqlint-0.11.3-py3-none-macosx_11_0_arm64.whl (619.7 kB view details)

Uploaded Python 3macOS 11.0+ ARM64

tqlint-0.11.3-py3-none-macosx_10_12_x86_64.whl (653.6 kB view details)

Uploaded Python 3macOS 10.12+ x86-64

File details

Details for the file tqlint-0.11.3.tar.gz.

File metadata

  • Download URL: tqlint-0.11.3.tar.gz
  • Upload date:
  • Size: 38.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.19 {"installer":{"name":"uv","version":"0.11.19","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for tqlint-0.11.3.tar.gz
Algorithm Hash digest
SHA256 c762cd1bb7807552f16e1680ef5789729a571f6f4023e21b182030418b0f7aed
MD5 e45c22627a64dd1f33917ad914c78a0e
BLAKE2b-256 3d9c28510eb805c520a36b33d69deec60d1dd972b8031b08eff33ed35cf24f72

See more details on using hashes here.

File details

Details for the file tqlint-0.11.3-py3-none-win_amd64.whl.

File metadata

  • Download URL: tqlint-0.11.3-py3-none-win_amd64.whl
  • Upload date:
  • Size: 574.0 kB
  • Tags: Python 3, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.19 {"installer":{"name":"uv","version":"0.11.19","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for tqlint-0.11.3-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 e514165cd8eb97b857f368664265575756f1cb3fdbc79d566bfd654c9a101a1f
MD5 8091c6f11ba81e69bcc9216ba8ddfb4b
BLAKE2b-256 52923b78a817ca8fbd7c9571bd2d735d0f86823416cb0a734a8fb2136f6da7e3

See more details on using hashes here.

File details

Details for the file tqlint-0.11.3-py3-none-manylinux_2_31_x86_64.whl.

File metadata

  • Download URL: tqlint-0.11.3-py3-none-manylinux_2_31_x86_64.whl
  • Upload date:
  • Size: 684.9 kB
  • Tags: Python 3, manylinux: glibc 2.31+ x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.19 {"installer":{"name":"uv","version":"0.11.19","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for tqlint-0.11.3-py3-none-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 a9310af80b0b33abc11c6f6a2c1374c353e0c03d62747c00b07df1195a2b33ab
MD5 c4d4365972b38f4f96bbec70c8235aa0
BLAKE2b-256 4e79ac7ab47c1b48d36e1066765cbc3ff5d7bcdad0fc394a66afc99c1f2044fc

See more details on using hashes here.

File details

Details for the file tqlint-0.11.3-py3-none-macosx_11_0_arm64.whl.

File metadata

  • Download URL: tqlint-0.11.3-py3-none-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 619.7 kB
  • Tags: Python 3, macOS 11.0+ ARM64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.19 {"installer":{"name":"uv","version":"0.11.19","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for tqlint-0.11.3-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 fb4ee7b2b73e5618af6c2141d2d597729b908fbce7b1b32f4de3c5e4f243bfa0
MD5 9a88f36f2731a91d15b46b69a97929c5
BLAKE2b-256 bd3da54bd2061edd85062cbde311dd91e9c81a448db8a6a13d3bdd48cdff6f46

See more details on using hashes here.

File details

Details for the file tqlint-0.11.3-py3-none-macosx_10_12_x86_64.whl.

File metadata

  • Download URL: tqlint-0.11.3-py3-none-macosx_10_12_x86_64.whl
  • Upload date:
  • Size: 653.6 kB
  • Tags: Python 3, macOS 10.12+ x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.19 {"installer":{"name":"uv","version":"0.11.19","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for tqlint-0.11.3-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 5eebbbe99710d5623017d28d83ab0523729af1550d0f356e7d30e652f6aab00c
MD5 044f53437e599207c5008ad68601744e
BLAKE2b-256 7772d41b57a450f9f302852b00603db50f5e02a8bf96e6d89a0ea720b1300a45

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page