pragmatiks-lint
Python library for running Pragmatiks semgrep rules.
from pathlib import Path
from pragmatiks_lint import run_check
findings = run_check([Path("src")], language="python")
The package also ships a strict no-comments check for Python files, run as a module by a local pre-commit hook:
- repo: local
hooks:
- id: check-comments
name: Enforce NO COMMENTS policy
entry: python -m pragmatiks_lint.comments
language: python
language_version: python3.13
additional_dependencies: ["pragmatiks-lint==0.6.0"]
types: [python]
pass_filenames: true
stages: [pre-commit]
It has no [project.scripts] entry. Command-line integration belongs in pragma-cli.
Metadata
Release files for pragmatiks-lint 0.6.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pragmatiks_lint-0.6.0.tar.gz | 8.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pragmatiks_lint-0.6.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 20.8 kB
Release files / pragmatiks_lint-0.6.0.tar.gz
| Download URL | pragmatiks_lint-0.6.0.tar.gz |
|---|---|
| Size | 8.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8d5bdb251dc40cbc4cadfcbbbe46014badcba7f9ebb78c0e10fcbff9f8e47c68
|
|
BLAKE2b-256 checksum How to use checksums |
808396927b0e2442cbbcbe9ed068a1a838a268f134a857f91e8d68d1a79586a1
|
| 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 Oct 7, 2026.
Transparency logRelease files / pragmatiks_lint-0.6.0-py3-none-any.whl
| Download URL | pragmatiks_lint-0.6.0-py3-none-any.whl |
|---|---|
| Size | 12.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3269c7e8cdf385e285f2a97a2ee6c9126318c9c6f4e3f74fe6a7af3d63bcd081
|
|
BLAKE2b-256 checksum How to use checksums |
e130ac91cb45bc6c56d7ee230719199a3f27d082b54f166fa7500080d6a0fc91
|
| 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 Oct 7, 2026.
Transparency log