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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for plain_code-0.9.0.tar.gz
Algorithm Hash digest
SHA256 ce08d958be100cc39dab6899a265559706dd1a2e894bcf972f0dac2f9894a124
MD5 60b3856302f475e673eaa3f31f42df34
BLAKE2b-256 1efd93ac2f31d5a0c6880ab372a8cfef28e8259f23d9cfb57fe0781f15c82077

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for plain_code-0.9.0-py3-none-any.whl
Algorithm Hash digest
SHA256 42d06588962c83cae95e0e7f5b483f02176d05ddc51886723602d6e8c40de53e
MD5 cb3a1d6e829fd368eb523681e524182c
BLAKE2b-256 e090adc2472a671cb769d8006f3965de5fc0ecbad91c19205db18dbee74b3767

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