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

Built distributions (wheels)

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

Total release size: 22.1 MB

Release files / malt-0.2.1.tar.gz

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

Download URL malt-0.2.1-py3-none-win_arm64.whl
Size 2.8 MB
Tags Python 3 Windows ARM64
SHA-256 checksum
How to use checksums
62dfecc00ce6cf68170f83b714f9af87804bb0d85263c4ad58d706e0df531113
BLAKE2b-256 checksum
How to use checksums
3cacff7d9c6d4641b277b8110edaa9c00cba52ff70e5bd2ce93a95aac6631ec8
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.1-py3-none-win_amd64.whl

Download URL malt-0.2.1-py3-none-win_amd64.whl
Size 3.0 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
e251e8c0c677c5740952351eebf0e7375633717e502f09abd15105f822ccdaf7
BLAKE2b-256 checksum
How to use checksums
edcb95435f409b77f989f535dc0b5365c3deed6957bf4123a3a014e5b8ec5a39
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.1-py3-none-musllinux_1_2_x86_64.whl

Download URL malt-0.2.1-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
2103845d5ed5467b5b7db8de251ebbd361bae698ccb89e00cf8be45334e8e1db
BLAKE2b-256 checksum
How to use checksums
dad95ef2916d6f9f0afb998be8080571cc9d6f9cb0d5fc76392106ae6dc8e320
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.1-py3-none-musllinux_1_2_aarch64.whl

Download URL malt-0.2.1-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
dee31c569fd051e8549d907e122f440cb9b564673b3e4076c1a34691cde68c32
BLAKE2b-256 checksum
How to use checksums
28ee7efa4cd2523196f54c8d5b25d86070a567cddf0c16a68880589d696ebd83
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.1-py3-none-manylinux_2_28_x86_64.whl

Download URL malt-0.2.1-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
4bf35c655e41f68341791d2b9e1511bbd56e1a6390267a87b868e73de60ffd31
BLAKE2b-256 checksum
How to use checksums
bd7502472a3233fdda357bcde4c05f7fad002c29c182bb92d2c6a6f6f20c1011
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.1-py3-none-manylinux_2_28_aarch64.whl

Download URL malt-0.2.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
0712855d95734657f4dc34761e4c2c2e788c01dd59142af4cb065be9dba2b4ad
BLAKE2b-256 checksum
How to use checksums
3ba5bbae3f724c20bab6b7081f25427f3a07760ef79c76623ce303d4c786764b
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.1-py3-none-macosx_11_0_arm64.whl

Download URL malt-0.2.1-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
3d66ca91af491a80a5d08c7d478dbaf2b902d9091262b3097365ae9cc0226c72
BLAKE2b-256 checksum
How to use checksums
9280dff852d1030a01358d7cd5c6e2bd34b53a36af4da2385454af296ba16590
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.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