A small wrapper CLI for ruff that sorts imports and formats Python code in one command.
Project description
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
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file iruff-0.1.0.tar.gz.
File metadata
- Download URL: iruff-0.1.0.tar.gz
- Upload date:
- Size: 1.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f65386d8f9f2a2613670a9a1e68e4dd72dddde0d478d7e742e49f1376cd975c0
|
|
| MD5 |
1a7077c6d17c09ec4fc57080f773db22
|
|
| BLAKE2b-256 |
cb5267783121ed32eec1fb69d79e83df8c18a1630106a9e782388aa94548c8f9
|
File details
Details for the file iruff-0.1.0-py3-none-any.whl.
File metadata
- Download URL: iruff-0.1.0-py3-none-any.whl
- Upload date:
- Size: 2.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7dc9d09345aef4aae01c2a81e2129acdf6a6942158eeca92ebe4b8dbba2ac0f3
|
|
| MD5 |
961f02ab4405d7bf13f33c0d05379a6e
|
|
| BLAKE2b-256 |
116f1d5ae69257a45a35a52723c4ca6eac9894b8d54d4d1b47e291d7d2bbe498
|