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
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.1.tar.gz
(21.9 kB
view hashes)
Built Distributions
Close
Hashes for rust_python_linter-0.0.1-cp38-cp38-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5dd6c3a904bd23a3277d430d3063912968e905c4417765791713c25711778e73 |
|
MD5 | 86f02a6358d4ff70b4c77cdc582e39fe |
|
BLAKE2b-256 | cc0fc5b78bff8a8cc02b2a2566bc10e55e65348614a88674bc3258b9b76b0df1 |
Close
Hashes for rust_python_linter-0.0.1-cp38-cp38-macosx_10_7_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 69ee4b087ff5c1e82cc47d7776fff9cd92f6b1887fdebbb1a7169b4fb2b9662a |
|
MD5 | 408b207648f7910b63bd3b3d81894c89 |
|
BLAKE2b-256 | ba1365a92edb475e09b5295eb5fc0c5589789d2dd70db8d2cb9ced4b4ece614d |