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.6.tar.gz
(25.1 kB
view hashes)
Built Distributions
Close
Hashes for rust_python_linter-0.0.6-cp38-cp38-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d46dd593623137ceac3467fe5b5a963b85f1ccd8e006f0f2998fff0fbb343359 |
|
MD5 | aea13a6ffcebf111fd904bf6b873273f |
|
BLAKE2b-256 | 11b9f12e38a635abad67499152a4dc542bd55906362e3a2d3e79beee9c666b8e |
Close
Hashes for rust_python_linter-0.0.6-cp38-cp38-macosx_10_7_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1a67cc9c83cb19c39fa0e202596a8aa416ca628e939e3e302b8f3ce57fb49dec |
|
MD5 | 6d08107ff9aa4516f338eb8960f016d5 |
|
BLAKE2b-256 | 77f21df915472eea741c8a6baa4e0ac8e2fd230634353c0801dbfcf60c27ddd7 |