iruff
A small wrapper CLI for Ruff that sorts imports and formats Python code in one command.
What iruff does
Running:
iruff <PATH>
is equivalent to:
ruff check --select I --fix <PATH>
ruff format <PATH>
That’s it.
Configuration
iruff uses Ruff’s configuration directly.
All settings are read from:
pyproject.tomlruff.toml.ruff.toml
Configuration discovery behaves exactly the same as ruff.
Installation and Usage
uvx iruff .
uvx iruff src/
uvx iruff file.py
Scope
iruff intentionally does only two things:
- Sort imports (
Irules) - Format code
No extra options. No new config. No behavior changes.
License
MIT
Metadata
Release files for iruff 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| iruff-0.1.0.tar.gz | 1.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| iruff-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 4.1 kB
Release files / iruff-0.1.0.tar.gz
| Download URL | iruff-0.1.0.tar.gz |
|---|---|
| Size | 1.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f65386d8f9f2a2613670a9a1e68e4dd72dddde0d478d7e742e49f1376cd975c0
|
|
BLAKE2b-256 checksum How to use checksums |
cb5267783121ed32eec1fb69d79e83df8c18a1630106a9e782388aa94548c8f9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.5
|
Release files / iruff-0.1.0-py3-none-any.whl
| Download URL | iruff-0.1.0-py3-none-any.whl |
|---|---|
| Size | 2.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7dc9d09345aef4aae01c2a81e2129acdf6a6942158eeca92ebe4b8dbba2ac0f3
|
|
BLAKE2b-256 checksum How to use checksums |
116f1d5ae69257a45a35a52723c4ca6eac9894b8d54d4d1b47e291d7d2bbe498
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.5
|