Skip to main content

malt

An ultra-fast, extensible linter for MATLAB, written in Rust.

malt parses MATLAB with tree-sitter and runs every rule in a single pass over the syntax tree. Under its default configuration it reports exactly what MATLAB R2026b's Code Analyzer reports — verified fixture by fixture against a live checkcode, with the message text compared (how malt is verified) — and it uses the same check IDs (NOSEMI, AGROW, naming.class.casing, ...), so existing %#ok<...> suppressions keep working.

Upgrading from an earlier malt? Read the migration note: the default configuration, --fix and a few rule IDs changed.

Install

Channel Command
PyPI pip install malt or uv tool install malt (or run once with uvx malt)
crates.io cargo install malt-cli
npm (WebAssembly) npm install malt-wasm

PyPI and crates.io install the same malt command; the npm package is a WebAssembly library for browsers and Node.js.

Usage

malt src/                 # lint a directory
malt --fix src/foo.m      # apply automatic fixes
malt --preset all src/    # enable every rule

Configure rules in a .malt.toml at the project root:

[lint]
preset = "recommended"

[lint.rules]
NOSEMI = "off"

Documentation

Full documentation, the rule reference and an in-browser playground are at https://watermarkhu.nl/malt. Two pages worth opening first:

License

MIT

Metadata

Release files for malt 0.2.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 malt 0.2.0
File Size Uploaded Provenance Actions
malt-0.2.0.tar.gz 1.3 MB Without provenance Details for malt-0.2.0.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for malt 0.2.0
File Actions
malt-0.2.0-py3-none-win_arm64.whl Python 3 none Windows ARM64 Details for malt-0.2.0-py3-none-win_arm64.whl
malt-0.2.0-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details for malt-0.2.0-py3-none-win_amd64.whl
malt-0.2.0-py3-none-musllinux_1_2_x86_64.whl Python 3 none Linux musl 1.2+ x86-64 Details for malt-0.2.0-py3-none-musllinux_1_2_x86_64.whl
malt-0.2.0-py3-none-musllinux_1_2_aarch64.whl Python 3 none Linux musl 1.2+ ARM64 Details for malt-0.2.0-py3-none-musllinux_1_2_aarch64.whl
malt-0.2.0-py3-none-manylinux_2_28_x86_64.whl Python 3 none Linux glibc 2.28+ x86-64 Details for malt-0.2.0-py3-none-manylinux_2_28_x86_64.whl
malt-0.2.0-py3-none-manylinux_2_28_aarch64.whl Python 3 none Linux glibc 2.28+ ARM64 Details for malt-0.2.0-py3-none-manylinux_2_28_aarch64.whl
malt-0.2.0-py3-none-macosx_11_0_arm64.whl Python 3 none macOS 11.0+ ARM64 Details for malt-0.2.0-py3-none-macosx_11_0_arm64.whl

Total release size: 22.5 MB

Release files / malt-0.2.0.tar.gz

Download URL malt-0.2.0.tar.gz
Size 1.3 MB
Tags Source
SHA-256 checksum
How to use checksums
a45eaa868fdcef1cbe472ff092acc50f8ba38abc51998811cb39d9c247c11c8c
BLAKE2b-256 checksum
How to use checksums
d55da5154a03b247afd48ba0d7caee5b0f22d8f27fe045e9d9af7e110eb4b853
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / malt-0.2.0-py3-none-win_arm64.whl

Download URL malt-0.2.0-py3-none-win_arm64.whl
Size 2.9 MB
Tags Python 3 Windows ARM64
SHA-256 checksum
How to use checksums
08f59e176c36478c48f2d3eee78d8331f6978e75fa6612f4de2678a497542887
BLAKE2b-256 checksum
How to use checksums
f38b630b3ebab96fb35d3e281499478ac6c1cc24d924d8e8129f0843fad757c4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / malt-0.2.0-py3-none-win_amd64.whl

Download URL malt-0.2.0-py3-none-win_amd64.whl
Size 3.1 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
b3c880a67be8fd956776790776de500e8863d210a4ac6517801a0e2dd76c53a3
BLAKE2b-256 checksum
How to use checksums
f37e2d3ae8ee1f6030492fd19355f578ea049618a8f41ad29b5d02f5555a9a47
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / malt-0.2.0-py3-none-musllinux_1_2_x86_64.whl

Download URL malt-0.2.0-py3-none-musllinux_1_2_x86_64.whl
Size 3.3 MB
Tags Linux musl 1.2+ x86-64 Python 3
SHA-256 checksum
How to use checksums
1ccbd6e185e81b99adaa41847e4f4bffa6ab0474813790474b3cbf41239a9c13
BLAKE2b-256 checksum
How to use checksums
87b19c6e7b6da5e69f042ee28881c25a334986704991178ca40e95fcc592fcc6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / malt-0.2.0-py3-none-musllinux_1_2_aarch64.whl

Download URL malt-0.2.0-py3-none-musllinux_1_2_aarch64.whl
Size 3.0 MB
Tags Linux musl 1.2+ ARM64 Python 3
SHA-256 checksum
How to use checksums
9dc704b692b036222f823ec52fab011e43c0fe3d7326e8f8430242fae2196131
BLAKE2b-256 checksum
How to use checksums
3cda849e35ab554e7c89211e9356eb1e6d12cfbb76c9d72e78fbd5d08e717ef5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / malt-0.2.0-py3-none-manylinux_2_28_x86_64.whl

Download URL malt-0.2.0-py3-none-manylinux_2_28_x86_64.whl
Size 3.2 MB
Tags Linux glibc 2.28+ x86-64 Python 3
SHA-256 checksum
How to use checksums
096c173770dbd64a69d6ae64742d85cca84db1b960e9861ec73b2fc5eebd5dcc
BLAKE2b-256 checksum
How to use checksums
eba640078162280e83ee2012dcfd5974f1dfaf42c1dc7eca8ed1ed3e09347b2d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / malt-0.2.0-py3-none-manylinux_2_28_aarch64.whl

Download URL malt-0.2.0-py3-none-manylinux_2_28_aarch64.whl
Size 3.0 MB
Tags Linux glibc 2.28+ ARM64 Python 3
SHA-256 checksum
How to use checksums
18157f4145ad295eea0a6b17c71d6f74689144cb9820cb4429d4e3d931d87f57
BLAKE2b-256 checksum
How to use checksums
4544a31b3cfc4fc146acf9a1a68c00c5d774b2668b3eda6238fabb1b00822fe6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / malt-0.2.0-py3-none-macosx_11_0_arm64.whl

Download URL malt-0.2.0-py3-none-macosx_11_0_arm64.whl
Size 2.9 MB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
001b85cdc200ab088609b29351a58e3c92ed0ce9bf3a603906b6709da74caaa1
BLAKE2b-256 checksum
How to use checksums
a17cd1f20ce238148a71c3f42158e25695457b0f3df3b804759bc9c3a94ed8d8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for malt 0.2.0

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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