No project description provided
Project description
rust-python-linter
A performance-focused, Pyflakes-inspired Python linter, written in Rust.
Features:
- Python 3.8 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.8.tar.gz
(25.5 kB
view hashes)
Built Distributions
Close
Hashes for rust_python_linter-0.0.8-cp38-cp38-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1480038bc08c8b526bed66b1b2c5334a77aa9c3d44108e87c42480c1d38131e8 |
|
MD5 | adeb7b354d661d8684cfd21a50cb3949 |
|
BLAKE2b-256 | e1a8de2d8564c1931271271060cb915c46e1117a60e3e294a357c801acbc983d |
Close
Hashes for rust_python_linter-0.0.8-cp38-cp38-macosx_10_7_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | caab29232bfb284f194bfcc309dce26a1a39d7476000ce9fe2d349b169ff3831 |
|
MD5 | 2844ad66fd423d87aa3800a31740f6ec |
|
BLAKE2b-256 | ca0a7c5b0e0f70c6bd21037df4b1b9511a098a27112e08b830caf9a2fac9b1bf |