Skip to main content

colint

colint is an MIT-licensed Rust command-line linter for opinionated Python code reviews. It parses Python with Tree-sitter, so diagnostics include stable source locations even for multiline expressions.

Install

Once published, install the ColinKennedy PyPI distribution with:

python -m pip install colint
cargo run -- path\to\project
cargo run -- --strict --json src

Contributors can run the same quality gates as CI with cargo fmt --check, cargo clippy --all-targets -- -D warnings, and cargo test --all-targets.

Rules have stable codes in the COL-NNN form. A line may suppress all findings with # noqa, or selected findings with # colint: ignore[COL-003,COL-010]. The complete agreed rule and behavior contract is in DESIGN.md.

Configuration

Create .colint.toml in the working directory (or a parent directory):

warnings_as_errors = false
docstring_convention = "mkdocs"

[rules]
COL-003 = true
COL-013 = false

Every rule is enabled by default. --strict enables every rule regardless of configuration and treats warnings as errors. Exit status is 0 for clean runs and ordinary warnings, 1 for warnings escalated to errors, and 2 whenever an error-level finding exists.

docstring_convention = "mkdocs" enables the MkDocs parameter-markup check.

Release files for colint 0.1.1

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

Source distribution (sdist)

Source distribution for colint 0.1.1
File Size Uploaded
colint-0.1.1.tar.gz 17.2 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for colint 0.1.1
File Interpreter ABI Platform
colint-0.1.1-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details
colint-0.1.1-py3-none-manylinux_2_34_x86_64.whl Python 3 none Linux glibc 2.34+ x86-64 Details
colint-0.1.1-py3-none-macosx_11_0_arm64.whl Python 3 none macOS 11.0+ ARM64 Details

Total release size: 2.0 MB

Release files / colint-0.1.1.tar.gz

Download URL colint-0.1.1.tar.gz
Size 17.2 kB
Tags Source
SHA-256 checksum
How to use checksums
f6d0a3a1cf09ba810875c4d28636ac03960f034f0cfd7fef15b0778bb5e40ad3
BLAKE2b-256 checksum
How to use checksums
398b229d73fd0fa468fa4685ef92d68aed47d28b4d01c2608c6cad2c9a5a9d9f
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 24, 2026.

Transparency log

Release files / colint-0.1.1-py3-none-win_amd64.whl

Download URL colint-0.1.1-py3-none-win_amd64.whl
Size 611.9 kB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
9b26b7b4ae8dccc7b1653bf1747a22de115d586a1fe61abcfc974d646c2463ad
BLAKE2b-256 checksum
How to use checksums
ebd005e3bdaf6ecfe73a4c3b96fcae6efbb329e197d278ddae05de1c34d035f7
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 24, 2026.

Transparency log

Release files / colint-0.1.1-py3-none-manylinux_2_34_x86_64.whl

Download URL colint-0.1.1-py3-none-manylinux_2_34_x86_64.whl
Size 740.4 kB
Tags Linux glibc 2.34+ x86-64 Python 3
SHA-256 checksum
How to use checksums
0cea9fdb2087a06b84e8f0e7e31527629cca5cfdf44e8ccfdae32d619bb848f8
BLAKE2b-256 checksum
How to use checksums
e96a07ba532a44bb61d16b49d82da76cb0fe2d026c12368d9878ca40ece868e6
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 24, 2026.

Transparency log

Release files / colint-0.1.1-py3-none-macosx_11_0_arm64.whl

Download URL colint-0.1.1-py3-none-macosx_11_0_arm64.whl
Size 668.5 kB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
b603c222f46ea9eed13825f6011c1d5929ebd8a047e9608606c7ae8bbed17c3a
BLAKE2b-256 checksum
How to use checksums
ec98d4d932b7a531c40bff13e90f4b90cec2e3c84d7021211b237172a97b007f
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 24, 2026.

Transparency log

Release history Release notifications | RSS feed

0.4.0

4 release files

This release

0.1.1 This release

4 release files

0.1.0

4 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