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.5.tar.gz (37.0 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.5-py3-none-win_amd64.whl (573.7 kB view details)

Uploaded Python 3Windows x86-64

tqlint-0.11.5-py3-none-manylinux_2_31_x86_64.whl (684.8 kB view details)

Uploaded Python 3manylinux: glibc 2.31+ x86-64

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

Uploaded Python 3macOS 11.0+ ARM64

tqlint-0.11.5-py3-none-macosx_10_12_x86_64.whl (653.5 kB view details)

Uploaded Python 3macOS 10.12+ x86-64

File details

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

File metadata

  • Download URL: tqlint-0.11.5.tar.gz
  • Upload date:
  • Size: 37.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.26 {"installer":{"name":"uv","version":"0.11.26","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.5.tar.gz
Algorithm Hash digest
SHA256 44a24a30398b4abb71d8aa463e42d20ab8515d382495da0ce82fc2973033b78f
MD5 14fb224210efcf94798fbebe749a7a6f
BLAKE2b-256 63d1ca1cb1e8680fee40f905ace8f91d0f28c26a51ce0594e0875f98c5fbe88a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tqlint-0.11.5-py3-none-win_amd64.whl
  • Upload date:
  • Size: 573.7 kB
  • Tags: Python 3, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.26 {"installer":{"name":"uv","version":"0.11.26","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.5-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 1f46c3409472fd84b0d93c81475067bcb8e8829a6fd58f490c06fdffca939255
MD5 3e21bd0813f7811da2b2a6c33658bc43
BLAKE2b-256 aa850dfa5ab60e58ee66094f475220cec3509528c2b1689f6812cbc73807ff4b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tqlint-0.11.5-py3-none-manylinux_2_31_x86_64.whl
  • Upload date:
  • Size: 684.8 kB
  • Tags: Python 3, manylinux: glibc 2.31+ x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.26 {"installer":{"name":"uv","version":"0.11.26","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.5-py3-none-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 57740e38dd1a9be60b5049aa6290352354d1fa38c7a3b3591f2b8ed107296468
MD5 3e6790b19c2341533f18dd0ddc82aaab
BLAKE2b-256 9602b8fce6b42bfaf4ab9c184307bb34290e0e9cc79a574b11311ca0474bae4c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tqlint-0.11.5-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.26 {"installer":{"name":"uv","version":"0.11.26","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.5-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 4b695a08841425b5b746dc54ac24f5d1138e0e5ae0b69c062ce36c35cec6020d
MD5 61a5096f776c28addb6af2ae3137569c
BLAKE2b-256 9cd08a6cd8cddf01676826f6d6ee26fbccd8403b982fb7adb35b849b11d298e6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tqlint-0.11.5-py3-none-macosx_10_12_x86_64.whl
  • Upload date:
  • Size: 653.5 kB
  • Tags: Python 3, macOS 10.12+ x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.26 {"installer":{"name":"uv","version":"0.11.26","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.5-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 ff78b0d7871033dcb67dc4560fff41901da16cfb6a06b514c1531f0a4dfc5da5
MD5 84bea513eb9c977cc634a2703fb1ce28
BLAKE2b-256 3447215df7e732891178a91bdbce79944e45e0659c2c8a529b52cc992cb3e402

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