No project description provided
Project description
rust-python-linter
A performance-focused, Pyflakes-inspired Python linter, written in Rust.
Features:
- Python 3.10 compatibility
- ESLint-inspired cache semantics
- TypeScript
-inspired
--watch
semantics
Installation
Available as rust-python-linter
on PyPI:
pip install rust-python-linter
Usage
To run the linter, try any of the following:
rust_python_linter path/to/code/to/check.py
# ...or...
rust_python_linter path/to/code/
# ...or...
rust_python_linter path/to/code/*.py
You can also run in --watch
mode to automatically re-run the linter on-change with, e.g.:
rust_python_linter path/to/code/ --watch
Development
As the name suggests, rust-python-linter
is implemented in Rust:
cargo fmt
cargo clippy
cargo run resources/test/src
Deployment
rust-python-linter
is released for Python using maturin
:
maturin publish --skip-existing --target x86_64-apple-darwin
maturin publish --skip-existing --target aarch64-apple-darwin
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
rust_python_linter-0.0.5.tar.gz
(22.2 kB
view hashes)
Built Distributions
Close
Hashes for rust_python_linter-0.0.5-cp38-cp38-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 13160a8bf5a6112eab728818817acaf416f6d259679d8fc168cea9b09d0a422e |
|
MD5 | 4f8e1666a9c11f6a5733cf735662fe20 |
|
BLAKE2b-256 | 545c12ab263f953d01c4f8a7f7b7bb3c222bba989034d94a1fa742fad3063332 |
Close
Hashes for rust_python_linter-0.0.5-cp38-cp38-macosx_10_7_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9d1240ecd9c4384f24238127fe85ae23aeb7a581be4002d4607ad176b30aff78 |
|
MD5 | 3bb7f7bcea27496a6b223c9548d2025c |
|
BLAKE2b-256 | b08cb6a6c25526ac8f761ed83b36a85f44c4b2f1ae50f834c6b1a0cb3c67e7ff |