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.3.tar.gz (5.7 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.3-py3-none-any.whl (8.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for plain_code-0.8.3.tar.gz
Algorithm Hash digest
SHA256 7573140f0b143528fa57659c1b92993fc33abd39980e1166c880c5a579f738e7
MD5 6dbafd0b78610c4d45f07df2a7090019
BLAKE2b-256 21b224f355f4f9c541cce1e8a581b0edf324bc7635a57ee88f68dcdf1409e2ae

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for plain_code-0.8.3-py3-none-any.whl
Algorithm Hash digest
SHA256 c72904b08d756301ea0282614a2e87c94d7dc51c8b2245485a2c5f3d4776e85e
MD5 2434a968386e8cf6dc27deafd0b0beb7
BLAKE2b-256 29e81171c69977e416b0a2c107511b070cea587bc289a529a162039be78ed61e

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