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 --skip-existing --target x86_64-apple-darwin
maturin publish --skip-existing --target aarch64-apple-darwin
To build additional wheels:
maturin build --target aarch64-apple-darwin
maturin upload --skip-existing
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.4.tar.gz
(22.1 kB
view hashes)
Built Distributions
Close
Hashes for rust_python_linter-0.0.4-cp38-cp38-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9f7fd62139e1db63edc6e23f5f18917931d646231082999befbfb1eeaf7768ab |
|
MD5 | 7c1bba8e99d020ce403b8bded2c7df0f |
|
BLAKE2b-256 | 2a58a2bd47223c8ad05da82819711301d1b9e12911d268f4447f6ad9d7b19da8 |
Close
Hashes for rust_python_linter-0.0.4-cp38-cp38-macosx_10_7_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2c622b2350847f3ed0795116bdfc8de3b3d78c617c1725de939d0c39dae738b2 |
|
MD5 | f405cf57e7e0206c0bf7ac8e72bf86eb |
|
BLAKE2b-256 | ae399014f4ca35b20c4dda09c06cb2f8914961a100a393ea1788b335eef98759 |