Skip to main content

lint-tool

lintrunner adapters for C++/Python/CMake repositories. Host repos own policy (.lintrunner.toml, .clang-format, pyproject.toml); this package owns the adapter implementations.

pip install lint-tool

Invoke adapters through lintrunner:

[[linter]]
code = 'CLANGFORMAT'
include_patterns = ['**/*.cpp', '**/*.h']
exclude_patterns = ['ThirdParty/**']
command = [
    'python3',
    '-m',
    'lint_tool.adapters.clangformat_linter',
    '--binary=clang-format',
    '--',
    '@{{PATHSFILE}}',
]
init_command = [
    'python3',
    '-m',
    'lint_tool.adapters.pip_init',
    '--dry-run={{DRYRUN}}',
    'clang-format==19.1.4',
]

Adapters find the consumer root by walking up from cwd for .lintrunner.toml or .git, or from LINTRUNNER_HOST_ROOT. They do not assume an XSigma Tools/linter/adapters layout.

A Logging/Parallel-sized menu is typically CLANGFORMAT, CMAKE, CMAKEFORMAT, EDITORCONFIG, NEWLINE, and CODESPELL. Do not copy a full XSigma .lintrunner.toml.

python3 -m lint_tool                 # list usage
python3 -m lint_tool.adapters.ruff_linter --help
python3 -m pytest tests/             # from a clone, after pip install -e ".[test]"

Source: https://github.com/KhwarizmiAnalytix/lint-tool

Release files for lint-tool 2026.9.14

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

Source distribution (sdist)

Source distribution for lint-tool 2026.9.14
File Size Uploaded
lint_tool-2026.9.14.tar.gz 53.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for lint-tool 2026.9.14
File Interpreter ABI Platform
lint_tool-2026.9.14-py3-none-any.whl Python 3 none any Details

Total release size: 135.4 kB

Release files / lint_tool-2026.9.14.tar.gz

Download URL lint_tool-2026.9.14.tar.gz
Size 53.5 kB
Tags Source
SHA-256 checksum
How to use checksums
ffd758eca41b1432b2ed0e0ec39f01c4466de67acb89da57457d202d0cd098c0
BLAKE2b-256 checksum
How to use checksums
2fc45d959b0175263e1c484962f469481f3a373f1433288e2b1b74967c3e201b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 14, 2026.

Transparency log

Release files / lint_tool-2026.9.14-py3-none-any.whl

Download URL lint_tool-2026.9.14-py3-none-any.whl
Size 81.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
de66def47b053300c9e56a2ac68fbbb82ddfcc7c7916dc3c4e549a5baf05fda2
BLAKE2b-256 checksum
How to use checksums
07834a31341ab2e9a741cef2e5099782bb4d8160d02b689ea27c42f4e70eccf5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 14, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

2026.9.14 This release

2 release files

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