Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

plain_code-0.8.0.tar.gz (5.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

plain_code-0.8.0-py3-none-any.whl (8.0 kB view details)

Uploaded Python 3

File details

Details for the file plain_code-0.8.0.tar.gz.

File metadata

  • Download URL: plain_code-0.8.0.tar.gz
  • Upload date:
  • Size: 5.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.7.7

File hashes

Hashes for plain_code-0.8.0.tar.gz
Algorithm Hash digest
SHA256 004cc3da5e8ad8e295664c48d41889c256580002617bfee1d5c7e34fca5448ce
MD5 7646a65987b271fd12c9d2e5221492de
BLAKE2b-256 f8e1d90664141aeea3f88812f144c47e1ff6345f6b3d8cd4e488439b94423318

See more details on using hashes here.

File details

Details for the file plain_code-0.8.0-py3-none-any.whl.

File metadata

  • Download URL: plain_code-0.8.0-py3-none-any.whl
  • Upload date:
  • Size: 8.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.7.7

File hashes

Hashes for plain_code-0.8.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b8ec95489043af88d236245b53a61de1f5922b9d43c99f9fe14be32e4799ccc3
MD5 15209f5dfe5e57dce1819a6f5e00e2b5
BLAKE2b-256 9c64d71233189a5cd7a61e70038e7b750079f3c50af998266bd683fd72d6987e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page