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.7.tar.gz
(25.2 kB
view hashes)
Built Distributions
Close
Hashes for rust_python_linter-0.0.7-cp38-cp38-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 356dcfa4143e706ad5560d6568362adb0c9914e40f03fd69ec11c84751705fb4 |
|
MD5 | 5b9a25c18385130b572256d1adc48444 |
|
BLAKE2b-256 | 4478365d0ddfdd824e22850d8ab3ecf1da056c22f8cfe47264b288e020af39b6 |
Close
Hashes for rust_python_linter-0.0.7-cp38-cp38-macosx_10_7_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 442715aae26d609f29919dedbd67a7640f3c90217ef0241ffc8ef23094a59b0f |
|
MD5 | 26064c1b36b3be5c9407f9beb6ab3721 |
|
BLAKE2b-256 | 302a9792f23d6651751b0a48fa39646518dc80542c6df2bded391bdd86ab606b |