Skip to main content

malt

malt logo, created by Mark Shui Hu

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

Built distributions (wheels)

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

Total release size: 22.6 MB

Release files / malt-0.3.1.tar.gz

Download URL malt-0.3.1.tar.gz
Size 1.3 MB
Tags Source
SHA-256 checksum
How to use checksums
f4d8910980643a8ec940ae58f388d965c64d99dd92cc7b590f696acbf767cf84
BLAKE2b-256 checksum
How to use checksums
ec586f88942028c15808160243ece7e0d4ea5e72603fedebf429595c9a3ef95d
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.1-py3-none-win_arm64.whl

Download URL malt-0.3.1-py3-none-win_arm64.whl
Size 2.9 MB
Tags Python 3 Windows ARM64
SHA-256 checksum
How to use checksums
781137ed8685ea83936492a113ce2a73100b317972c3d607aed9853b82a9491b
BLAKE2b-256 checksum
How to use checksums
d0437ad532aabe9ef9fdf705e95a3a75b97bd6fe211437024a17c35a7229280f
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.1-py3-none-win_amd64.whl

Download URL malt-0.3.1-py3-none-win_amd64.whl
Size 3.1 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
c1c303eb804a1a011f01ef2f251ffa2a107ecb23c4f6260bbd7f55717789afd8
BLAKE2b-256 checksum
How to use checksums
2fc8009b06c18a61d6270085391d2f5036b8c73011da11f741e7cc455aabc6ba
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.1-py3-none-musllinux_1_2_x86_64.whl

Download URL malt-0.3.1-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
cf2b68248ebc31c6a8b1f4d85d0aa6a2c354513f3cac94eece33f0ea1e90b0e7
BLAKE2b-256 checksum
How to use checksums
6c1bb93bc22a7d02996774a9ba54685d70fad343882e837609246331dff07f4e
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.1-py3-none-musllinux_1_2_aarch64.whl

Download URL malt-0.3.1-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
0725ffb98a18fc74565fde5b6b4f695bcf87766a2aaac2ae5d54a771bcb44f73
BLAKE2b-256 checksum
How to use checksums
31a0c0e3246a6d2e2057462b8779ecde62e758741c12918eda1729ed799bb8ec
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.1-py3-none-manylinux_2_28_x86_64.whl

Download URL malt-0.3.1-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
f7ec356d27a5ced8da706af6a463d18f75083cccde0ab452a2d2639d953b968a
BLAKE2b-256 checksum
How to use checksums
5d8d09e2e171ed2f1b0b22c7861417f2314796c2d597bf14a2cb7a84c2bb4fa1
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.1-py3-none-manylinux_2_28_aarch64.whl

Download URL malt-0.3.1-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
ec77bd149ddbe6d7ca4348d564d30a2328feac2747346f00d9776ac39bf848d3
BLAKE2b-256 checksum
How to use checksums
e236aa95ebc216a1c212668aecaa9e0612ff6887f135ce536555785ee4914a05
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.1-py3-none-macosx_11_0_arm64.whl

Download URL malt-0.3.1-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
98c224976ee0dde11a83ac26873f77307c601913f88fb975ea35b142375fc5eb
BLAKE2b-256 checksum
How to use checksums
61858c089015abe4b4bc431fb76cdcda08af377224e778a0ca9360c5f2108a75
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.1

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