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.10.4.tar.gz (37.7 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.10.4-py3-none-win_amd64.whl (575.4 kB view details)

Uploaded Python 3Windows x86-64

tqlint-0.10.4-py3-none-manylinux_2_31_x86_64.whl (687.1 kB view details)

Uploaded Python 3manylinux: glibc 2.31+ x86-64

tqlint-0.10.4-py3-none-macosx_11_0_arm64.whl (621.8 kB view details)

Uploaded Python 3macOS 11.0+ ARM64

tqlint-0.10.4-py3-none-macosx_10_12_x86_64.whl (654.9 kB view details)

Uploaded Python 3macOS 10.12+ x86-64

File details

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

File metadata

  • Download URL: tqlint-0.10.4.tar.gz
  • Upload date:
  • Size: 37.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.4 {"installer":{"name":"uv","version":"0.11.4","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.10.4.tar.gz
Algorithm Hash digest
SHA256 822ce81b27be726ea434ab656cd42a82a215a1afd6c408567954cee5b06eff2b
MD5 63b7b61c6f3467a29bdb711a9a0779e9
BLAKE2b-256 a1962e63ed8918744ae5a8389294d4895653ec21288c5ba7e48a4c00c71dac91

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tqlint-0.10.4-py3-none-win_amd64.whl
  • Upload date:
  • Size: 575.4 kB
  • Tags: Python 3, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.4 {"installer":{"name":"uv","version":"0.11.4","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.10.4-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 1967ab9701fff7fd95ca1a65ac25420addcfdb597f63c804722f2413e14688b0
MD5 9eb8f1a8a455af23ab1f9b0a994ce1be
BLAKE2b-256 d4ad47a8331f58a909f3832d09ae89d70898fdd032796485d308c08aa349adc5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tqlint-0.10.4-py3-none-manylinux_2_31_x86_64.whl
  • Upload date:
  • Size: 687.1 kB
  • Tags: Python 3, manylinux: glibc 2.31+ x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.4 {"installer":{"name":"uv","version":"0.11.4","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.10.4-py3-none-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 8c33754a0d6611ea9cf2855c813fb61a1f3398db134d9fe5e36f146669a9e799
MD5 f5ff71a916f0895d4e747e6a2e8164ab
BLAKE2b-256 df329fde456dcb54f5536f6ee6f6f6e3c433c331b1262a0371614c78f330698b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tqlint-0.10.4-py3-none-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 621.8 kB
  • Tags: Python 3, macOS 11.0+ ARM64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.4 {"installer":{"name":"uv","version":"0.11.4","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.10.4-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 7e53130f4aff423a82bafc9c9427449faac74dd15f916990327941c40f31ed44
MD5 3e741d31a521a744a34319b5511f5975
BLAKE2b-256 91772d29e67a6a7e44077aea43ffad809488d86c695343ec1161ca2abdd63e07

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tqlint-0.10.4-py3-none-macosx_10_12_x86_64.whl
  • Upload date:
  • Size: 654.9 kB
  • Tags: Python 3, macOS 10.12+ x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.4 {"installer":{"name":"uv","version":"0.11.4","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.10.4-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 e4f2a9d5d1b6b689f329531a881c38ae87f899fa47fc8095a2a542f54f363129
MD5 866a287f914c83ded2a8166b03f1c693
BLAKE2b-256 9c434695660642421108f70a128e99d420f1d70b4f4e0c1845297b340282ef6f

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