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 what MATLAB R2026b's Code Analyzer reports. Every fixture is checked against a live checkcode, message text included (how malt is verified). 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 to open first:

License

MIT

Metadata

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

Built distributions (wheels)

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

Total release size: 22.1 MB

Release files / malt-0.3.0.tar.gz

Download URL malt-0.3.0.tar.gz
Size 1.3 MB
Tags Source
SHA-256 checksum
How to use checksums
752a35c133e40d978c5e02c25ef273574e806139ab61909435c6472efd5294cf
BLAKE2b-256 checksum
How to use checksums
e0fd3b6b2c1956d59a790c528937eddd591d6581e3504e650386e0e48e0b9abb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.10 {"installer":{"name":"uv","version":"0.13.10","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.3.0-py3-none-win_arm64.whl

Download URL malt-0.3.0-py3-none-win_arm64.whl
Size 2.8 MB
Tags Python 3 Windows ARM64
SHA-256 checksum
How to use checksums
662740442a61c301a398b87048b66be4daec3472ff8de1de9ddd00f9b2930005
BLAKE2b-256 checksum
How to use checksums
455d04f4869c2e84914e79600a93d9b8129681695ec0105836e3266bfc15d9e2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.10 {"installer":{"name":"uv","version":"0.13.10","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.3.0-py3-none-win_amd64.whl

Download URL malt-0.3.0-py3-none-win_amd64.whl
Size 3.0 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
1686e6c008248c9f2f77fedf5f70997c9fd6b2e5b976aad2c0b090afdf1c7142
BLAKE2b-256 checksum
How to use checksums
417d5dafb271777fb55aeaf330d81e8218baa7fd08f6689d07d28c756b189ff0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.10 {"installer":{"name":"uv","version":"0.13.10","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.3.0-py3-none-musllinux_1_2_x86_64.whl

Download URL malt-0.3.0-py3-none-musllinux_1_2_x86_64.whl
Size 3.2 MB
Tags Linux musl 1.2+ x86-64 Python 3
SHA-256 checksum
How to use checksums
7b44fd76a3a1249b92a20db2243cb22467a3918630714068970b3d515535a76f
BLAKE2b-256 checksum
How to use checksums
aa9d40b4dfb8f412c9b0652c75c501080ac1c1e5d1041758aa6d92f071e43beb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.10 {"installer":{"name":"uv","version":"0.13.10","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.3.0-py3-none-musllinux_1_2_aarch64.whl

Download URL malt-0.3.0-py3-none-musllinux_1_2_aarch64.whl
Size 2.9 MB
Tags Linux musl 1.2+ ARM64 Python 3
SHA-256 checksum
How to use checksums
71993b547f82e768c27c21e57e9f33d8060935bef968beb58b82c5a6b7abe0ae
BLAKE2b-256 checksum
How to use checksums
fea28795fb0588e956862735854225fbbb10a196d0c1aec1e600bd3cfeeeb0d5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.10 {"installer":{"name":"uv","version":"0.13.10","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.3.0-py3-none-manylinux_2_28_x86_64.whl

Download URL malt-0.3.0-py3-none-manylinux_2_28_x86_64.whl
Size 3.1 MB
Tags Linux glibc 2.28+ x86-64 Python 3
SHA-256 checksum
How to use checksums
1eefd98fe255ace294cda651f044ed9c4b626a75bb795c719ac888d057f0eccb
BLAKE2b-256 checksum
How to use checksums
4bd9d823fe48d2b929844198c55bfdac695151c6d9561b6de5812b513f1583cd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.10 {"installer":{"name":"uv","version":"0.13.10","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.3.0-py3-none-manylinux_2_28_aarch64.whl

Download URL malt-0.3.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
e7f155c823c43b46db39e60afe6a57fa546eafba9749933354795d325829651e
BLAKE2b-256 checksum
How to use checksums
3e35d7437350b96d54b315688f7c86719a5170ac186c7a2bbaa615b309ef6741
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.10 {"installer":{"name":"uv","version":"0.13.10","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.3.0-py3-none-macosx_11_0_arm64.whl

Download URL malt-0.3.0-py3-none-macosx_11_0_arm64.whl
Size 2.8 MB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
e897a709a44c50c5a3cd21e9ed6220be90cf4ad8a2c5e17d9b968fba7be8eeb5
BLAKE2b-256 checksum
How to use checksums
d19f206ba38d9fedc3d7cc0ea18b13713c2823e36792afd8eabc08316dc36ed0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.10 {"installer":{"name":"uv","version":"0.13.10","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.3.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