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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for plain_code-0.9.1.tar.gz
Algorithm Hash digest
SHA256 8331a60fc52fab691bf29dd00bd0fa288c5c364f7ac427f3c218ff866f4050d6
MD5 e504d2391b730212a723a84d22fe6f9b
BLAKE2b-256 62ae4eac16c52a470511a2b568496a1a07f172163dbbb3350ad60dc8ddcb7397

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for plain_code-0.9.1-py3-none-any.whl
Algorithm Hash digest
SHA256 76768f6721a154c59a4cb5736bc5280594e8e4fbc1e7eb608c4fac15732b758b
MD5 73bf9bae3d675e22c14fc0da01ee642f
BLAKE2b-256 59c306f5b20337587b38b1e0e9a32342937077b8e1784c8cfc6a9c2ba521875c

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