Code formatting and linting for Plain.
Project description
plain.code
Preconfigured code formatting and linting.
The plain code command lints and formats Python files using Ruff, and JavaScript, JSON, and CSS files using Biome. Ruff is installed as a Python dependency, and Biome is managed automatically as a standalone binary (npm is not required).
The most used command is plain code fix, which can be run using the alias plain fix.
If plain.dev is installed then plain code check will be run automatically as a part of plain precommit to help catch issues before they are committed.
Configuration
Default configuration is provided by ruff_defaults.toml and biome_defaults.json.
Generally it's expected that you won't change the configuration! We've tried to pick defaults that "just work" for most projects. If you find yourself needing to customize things, you should probably just move to using the tools themselves directly instead of the plain.code package.
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 plain_code-0.8.1.tar.gz.
File metadata
- Download URL: plain_code-0.8.1.tar.gz
- Upload date:
- Size: 5.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.7.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
43b94376eb916625898b1e87686bcb47598ef0b50cfd2b6672c492c691429a31
|
|
| MD5 |
354be72770cb1b235d3dfce62e9579dd
|
|
| BLAKE2b-256 |
1265ed36936f9df00eb47841c92c37b06024f99f2a184a1150d49ec142a1d493
|
File details
Details for the file plain_code-0.8.1-py3-none-any.whl.
File metadata
- Download URL: plain_code-0.8.1-py3-none-any.whl
- Upload date:
- Size: 8.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.7.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
750bdadbdd1d342a481514898573472528c4ef6c6cd219cfbd6e8dadf182c637
|
|
| MD5 |
26953dc1c48b621aa6b4ac972282c688
|
|
| BLAKE2b-256 |
e8d1c6c744ef00eae72bed578a3bfe7e1714ed23f8d85984556aaf6c9cc3fe3e
|