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.

GitHub Action

- uses: actions/checkout@v4
- uses: watermarkhu/malt@v0

Annotations, a job summary and a JSON results file, with no install step. See the action docs.

Usage

malt                      # lint the current folder and everything below it
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.4.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.4.0
File Size Uploaded Provenance Actions
malt-0.4.0.tar.gz 1.4 MB Without provenance Details for malt-0.4.0.tar.gz

Built distributions (wheels)

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

Total release size: 25.6 MB

Release files / malt-0.4.0.tar.gz

Download URL malt-0.4.0.tar.gz
Size 1.4 MB
Tags Source
SHA-256 checksum
How to use checksums
d598860e7575f01f3117b84d1e64b336b4710ce64ba9b50f69da78a30b1da914
BLAKE2b-256 checksum
How to use checksums
b6613d32c98f109df487937db5b76bb2c8f4ce4e41776245b29741f783c13d42
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.4.0-py3-none-win_arm64.whl

Download URL malt-0.4.0-py3-none-win_arm64.whl
Size 3.3 MB
Tags Python 3 Windows ARM64
SHA-256 checksum
How to use checksums
10f001eb2d415507775135259fe7be60e8e88e9fc5c0c18f5e5fa6e8c8f81325
BLAKE2b-256 checksum
How to use checksums
82024ce056bc42b4d6853ead091bf102eb0f60edf24fbdc21106d88a2accc8c2
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.4.0-py3-none-win_amd64.whl

Download URL malt-0.4.0-py3-none-win_amd64.whl
Size 3.5 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
a34a35e6ac9a7f18d24fd797780375b9a31ae88dc70ac604b5cec4142ddbc87f
BLAKE2b-256 checksum
How to use checksums
4aa3fa34d3ac5c159b88b9495b891c4b2fd0ed77b0babfa540e3f09f8acf46a5
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.4.0-py3-none-musllinux_1_2_x86_64.whl

Download URL malt-0.4.0-py3-none-musllinux_1_2_x86_64.whl
Size 3.7 MB
Tags Linux musl 1.2+ x86-64 Python 3
SHA-256 checksum
How to use checksums
32e3c299f9dc836eb021ea0d6263e2a9d0c199be5efbbf7040206167242c82f0
BLAKE2b-256 checksum
How to use checksums
9712b4fe2839e6e71df89fe3abd002b27c3eeeb4d5dd65a96b832088d99b705d
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.4.0-py3-none-musllinux_1_2_aarch64.whl

Download URL malt-0.4.0-py3-none-musllinux_1_2_aarch64.whl
Size 3.3 MB
Tags Linux musl 1.2+ ARM64 Python 3
SHA-256 checksum
How to use checksums
594101547f25cd113d2f1903d9085fa81b7aa74298402ad4a056a870d7db4c41
BLAKE2b-256 checksum
How to use checksums
98fe267de025967401f91767ee804380457eeb9f960ca845e38d75694e55886f
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.4.0-py3-none-manylinux_2_28_x86_64.whl

Download URL malt-0.4.0-py3-none-manylinux_2_28_x86_64.whl
Size 3.6 MB
Tags Linux glibc 2.28+ x86-64 Python 3
SHA-256 checksum
How to use checksums
8b86f1f281ddc82f674f9c1cdaa3373cd374d053a30b1310a337807b9f95b7da
BLAKE2b-256 checksum
How to use checksums
b7404238c76dbbb5bf17a771cb35cb4ad714c372083daa420681b485bc31b729
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.4.0-py3-none-manylinux_2_28_aarch64.whl

Download URL malt-0.4.0-py3-none-manylinux_2_28_aarch64.whl
Size 3.4 MB
Tags Linux glibc 2.28+ ARM64 Python 3
SHA-256 checksum
How to use checksums
144540fcd46236fb32143f66a6b6e684d1537e1b728c70aff26db4b8214b8ab9
BLAKE2b-256 checksum
How to use checksums
f2e610d654940153bef6d2606c1c2266f21c4a28239ebaaae63cf2b694e7f651
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.4.0-py3-none-macosx_11_0_arm64.whl

Download URL malt-0.4.0-py3-none-macosx_11_0_arm64.whl
Size 3.3 MB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
34e13c9904d6f55ff73dd1c332746e1e2089f27e98ea7db13ffafbee3ee1b67b
BLAKE2b-256 checksum
How to use checksums
4054b3833306738ae51dbc23b2ba31c403a5bf33e3289633a944c2de5bcbd5c8
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.4.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