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.0

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.0
File Size Uploaded
colint-0.1.0.tar.gz 16.4 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for colint 0.1.0
File Interpreter ABI Platform
colint-0.1.0-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details
colint-0.1.0-py3-none-manylinux_2_34_x86_64.whl Python 3 none Linux glibc 2.34+ x86-64 Details
colint-0.1.0-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.0.tar.gz

Download URL colint-0.1.0.tar.gz
Size 16.4 kB
Tags Source
SHA-256 checksum
How to use checksums
096de3bb6d166794b482710f38bcee59c60dcdcf797927b8428f3f1f1fdfcd80
BLAKE2b-256 checksum
How to use checksums
da05ce732598a4d8d1360b2841c3a13792b87f89bac2e8320e78c6be1b52b309
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.0-py3-none-win_amd64.whl

Download URL colint-0.1.0-py3-none-win_amd64.whl
Size 604.1 kB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
fffeedc701e55f84d3c3f358630ce66805ad1f6cdd88b734a1e5d6ff4b25aa72
BLAKE2b-256 checksum
How to use checksums
b60ad4c1017227e85ffc98c8e18fb84b5b6f3edcbdb1fdff5d670d02246933cc
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.0-py3-none-manylinux_2_34_x86_64.whl

Download URL colint-0.1.0-py3-none-manylinux_2_34_x86_64.whl
Size 733.5 kB
Tags Linux glibc 2.34+ x86-64 Python 3
SHA-256 checksum
How to use checksums
ea57c816b64c82c89a5be1c363cd180a93ef2f8cd9167b1ea3dd23a7f3158431
BLAKE2b-256 checksum
How to use checksums
a99ef5e5a1ae45c0b15fb6313c854e14cdcfdfd9c747fe65236dcdbae3cd7ce1
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.0-py3-none-macosx_11_0_arm64.whl

Download URL colint-0.1.0-py3-none-macosx_11_0_arm64.whl
Size 661.5 kB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
bfab9ed973f82a1431eea3826992eb3fc0ff830d9a25633c875401f66b1e3188
BLAKE2b-256 checksum
How to use checksums
a36fb0d9bdab12bbe80839dad2ef9b521852160bb417c97ac4b0fbf281bc8be8
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

0.1.1

4 release files

This release

0.1.0 This release

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