plain.code 0.10.2__tar.gz → 0.11.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: plain.code
3
- Version: 0.10.2
3
+ Version: 0.11.0
4
4
  Summary: Preconfigured code formatting and linting.
5
5
  Author-email: Dave Gaeddert <dave.gaeddert@dropseed.dev>
6
6
  License-File: LICENSE
@@ -1,5 +1,15 @@
1
1
  # plain-code changelog
2
2
 
3
+ ## [0.11.0](https://github.com/dropseed/plain/releases/plain-code@0.11.0) (2025-10-22)
4
+
5
+ ### What's changed
6
+
7
+ - All CLI commands now skip runtime setup for faster execution by using the `@without_runtime_setup` decorator ([b7358d7](https://github.com/dropseed/plain/commit/b7358d7))
8
+
9
+ ### Upgrade instructions
10
+
11
+ - No changes required
12
+
3
13
  ## [0.10.2](https://github.com/dropseed/plain/releases/plain-code@0.10.2) (2025-10-06)
4
14
 
5
15
  ### What's changed
@@ -10,12 +10,14 @@ import click
10
10
 
11
11
  from plain.cli import register_cli
12
12
  from plain.cli.print import print_event
13
+ from plain.cli.runtime import without_runtime_setup
13
14
 
14
15
  from .biome import Biome
15
16
 
16
17
  DEFAULT_RUFF_CONFIG = Path(__file__).parent / "ruff_defaults.toml"
17
18
 
18
19
 
20
+ @without_runtime_setup
19
21
  @register_cli("code")
20
22
  @click.group()
21
23
  def cli() -> None:
@@ -23,6 +25,7 @@ def cli() -> None:
23
25
  pass
24
26
 
25
27
 
28
+ @without_runtime_setup
26
29
  @cli.command()
27
30
  @click.option("--force", is_flag=True, help="Reinstall even if up to date")
28
31
  @click.pass_context
@@ -52,6 +55,7 @@ def install(ctx: click.Context, force: bool) -> None:
52
55
  click.secho("Biome already installed", fg="green")
53
56
 
54
57
 
58
+ @without_runtime_setup
55
59
  @cli.command()
56
60
  def update() -> None:
57
61
  """Update the Biome standalone binary to the latest release."""
@@ -67,6 +71,7 @@ def update() -> None:
67
71
  click.secho(f"Biome {version} installed", fg="green")
68
72
 
69
73
 
74
+ @without_runtime_setup
70
75
  @cli.command()
71
76
  @click.pass_context
72
77
  @click.argument("path", default=".")
@@ -100,6 +105,7 @@ def check(ctx: click.Context, path: str) -> None:
100
105
  sys.exit(result.returncode)
101
106
 
102
107
 
108
+ @without_runtime_setup
103
109
  @register_cli("fix")
104
110
  @cli.command()
105
111
  @click.pass_context
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "plain.code"
3
- version = "0.10.2"
3
+ version = "0.11.0"
4
4
  description = "Preconfigured code formatting and linting."
5
5
  authors = [{name = "Dave Gaeddert", email = "dave.gaeddert@dropseed.dev"}]
6
6
  readme = "README.md"
File without changes
File without changes
File without changes