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.9.tar.gz
(26.4 kB
view hashes)
Built Distributions
Close
Hashes for rust_python_linter-0.0.9-cp38-cp38-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9f86edeca8232b4c84ae3f97bfe618b29bcb32d2441e9f852b25a52fc1656a05 |
|
MD5 | 304e920718952dd542b0ff36c2a9c201 |
|
BLAKE2b-256 | 4749662e70732c731b12392fb08283bef17e1a30e1306cc450bae0766f6909d1 |
Close
Hashes for rust_python_linter-0.0.9-cp38-cp38-macosx_10_7_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e2b4b88bcc1c3626b9ca7bbb9e97c7d60174de2819ebca26576d7afaa2bc68af |
|
MD5 | 251141324a183a8fa8c7e7db80faf9b1 |
|
BLAKE2b-256 | a4bb5faf0d605d2977bbd36a8174c8a615aa1c715d0cd0aa5bbfc6408d7b2c3f |