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. It aims for parity with MATLAB's Code Analyzer and uses the same check IDs (NOSEMI, AGROW, naming.class.casing, ...), so existing %#ok<...> suppressions keep working.

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.

License

MIT

Metadata

Release files for malt 0.1.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.1.1
File Size Uploaded Provenance Actions
malt-0.1.1.tar.gz 413.1 kB Without provenance Details for malt-0.1.1.tar.gz

Built distributions (wheels)

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

Total release size: 14.0 MB

Release files / malt-0.1.1.tar.gz

Download URL malt-0.1.1.tar.gz
Size 413.1 kB
Tags Source
SHA-256 checksum
How to use checksums
e979825752a3a8fbdec6993e9027f0b5f05687a8c510afdbb38aaa1891debee3
BLAKE2b-256 checksum
How to use checksums
6ce6aa0250275ed0113b57bfd7dc4aa87d05c4b78ab4a82120bce1966973cb26
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","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.1.1-py3-none-win_arm64.whl

Download URL malt-0.1.1-py3-none-win_arm64.whl
Size 1.8 MB
Tags Python 3 Windows ARM64
SHA-256 checksum
How to use checksums
c28e2da2ac4e87c18e8db02b552c53cb5e05a05a259f2ffaf85c9592f8435b1b
BLAKE2b-256 checksum
How to use checksums
c37f59edc44a50b6e16f3f094f15785b1fae297ddfc024237551f65614267fe4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","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.1.1-py3-none-win_amd64.whl

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

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

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

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

Download URL malt-0.1.1-py3-none-manylinux_2_28_aarch64.whl
Size 1.9 MB
Tags Linux glibc 2.28+ ARM64 Python 3
SHA-256 checksum
How to use checksums
e06f60d9542c3c2d717645197cfec23b49b0a791fb6402a37c5d2b964f176228
BLAKE2b-256 checksum
How to use checksums
e184dcbabec732ccf870c49650a778651529afe178d84d19c041de3066001158
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","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.1.1-py3-none-macosx_11_0_arm64.whl

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

Release history Release notifications | RSS feed

This release

0.1.1 This release

8 release files No provenance

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