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.1.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.1-py3-none-any.whl (8.0 kB view details)

Uploaded Python 3

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

Hashes for plain_code-0.8.1.tar.gz
Algorithm Hash digest
SHA256 43b94376eb916625898b1e87686bcb47598ef0b50cfd2b6672c492c691429a31
MD5 354be72770cb1b235d3dfce62e9579dd
BLAKE2b-256 1265ed36936f9df00eb47841c92c37b06024f99f2a184a1150d49ec142a1d493

See more details on using hashes here.

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

Hashes for plain_code-0.8.1-py3-none-any.whl
Algorithm Hash digest
SHA256 750bdadbdd1d342a481514898573472528c4ef6c6cd219cfbd6e8dadf182c637
MD5 26953dc1c48b621aa6b4ac972282c688
BLAKE2b-256 e8d1c6c744ef00eae72bed578a3bfe7e1714ed23f8d85984556aaf6c9cc3fe3e

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