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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for plain_code-0.7.1.tar.gz
Algorithm Hash digest
SHA256 cbcee2a6646f2b70a185720ba95a09bb74f2db2eb2cd3599d7ef853a6a81b2d6
MD5 9a8187859d87ae1c63533229cf54ffda
BLAKE2b-256 57590625f9c138bcba86208fd6b97e9b9fc228935563dabd95428e88a2f82dd9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for plain_code-0.7.1-py3-none-any.whl
Algorithm Hash digest
SHA256 618c4e93b292b5570527b9891ce185cfa8f08c36f07ade9a760191004b883649
MD5 51a5fab7cfb53074984750550da705df
BLAKE2b-256 b5e6d42c60f274f85ed3652a20d7866c20f0cb42709381f8d29a12ecf209a133

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