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.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.1.0
File Size Uploaded Provenance Actions
malt-0.1.0.tar.gz 413.1 kB Without provenance Details for malt-0.1.0.tar.gz

Built distributions (wheels)

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

Total release size: 14.0 MB

Release files / malt-0.1.0.tar.gz

Download URL malt-0.1.0.tar.gz
Size 413.1 kB
Tags Source
SHA-256 checksum
How to use checksums
41ff930767548bfc81559535bf47837d367d42de65a0129711ced6d986eee297
BLAKE2b-256 checksum
How to use checksums
6c7e875fdc61fa17df9bb965c96d750babddb393302cd01e06261e50146c7a75
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.0-py3-none-win_arm64.whl

Download URL malt-0.1.0-py3-none-win_arm64.whl
Size 1.8 MB
Tags Python 3 Windows ARM64
SHA-256 checksum
How to use checksums
a687ca98078a19b4bb1838186fcb2a86891bccc9034b48bb311e5d7fe594fc52
BLAKE2b-256 checksum
How to use checksums
39bfcecd9c5c4e8f44efe8c86024957346dfddee741d5184e0ed616995e9bf54
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.0-py3-none-win_amd64.whl

Download URL malt-0.1.0-py3-none-win_amd64.whl
Size 1.9 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
3ec545ac30a5a01c8bd124e01b74da7d83993209b9d15b2e44f72dcdc8da9f72
BLAKE2b-256 checksum
How to use checksums
f7e68814d26d414f427615ed386dc01fd593476cb036a670777e899b0bec1b88
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.0-py3-none-musllinux_1_2_x86_64.whl

Download URL malt-0.1.0-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
917173ed10cdea8be1d0a1e6bb107481e7b032c2810d7b47a8d7db00b5154001
BLAKE2b-256 checksum
How to use checksums
1144d85fee1ad95f8cdf487508ad67b7af6f2d9fa8fc0ff7033ff855f5c7e32f
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.0-py3-none-musllinux_1_2_aarch64.whl

Download URL malt-0.1.0-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
97905af55a6fdaed08069adb5243e88160e7c853838eaefc7956ab44988bb68b
BLAKE2b-256 checksum
How to use checksums
f90354f798db49582dcd6de78f16e34fa0e4f9fcfe887f46e9909e18deb80d51
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.0-py3-none-manylinux_2_28_x86_64.whl

Download URL malt-0.1.0-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
1e0c8f31fc9e71b6706e33a45bdeab531f0b16e6d823bd2c39cf04b29e4dba6c
BLAKE2b-256 checksum
How to use checksums
ce85313f20c03cc4fb0715cc1ce9f4e7896006f6415eed836298dbfca7036da8
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.0-py3-none-manylinux_2_28_aarch64.whl

Download URL malt-0.1.0-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
135340b0908347db60687bd2b0b0336ef5c2161672b63dbe9b94cf7891ff045f
BLAKE2b-256 checksum
How to use checksums
b8b1698bb33c25627b090b3d2ba83e543fc0e450f9c2eed126cefa8f888152bc
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.0-py3-none-macosx_11_0_arm64.whl

Download URL malt-0.1.0-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
526b4ecb8b03afaaadc2623c406bc3ae9d8a56c9b451587792679409a90d6f8f
BLAKE2b-256 checksum
How to use checksums
c32b4a4875340534549b6c245b48d021d78fa2812c15ab758313cbef6270fd7d
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.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.

Release history Release notifications | RSS feed

This release

0.1.0 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