readability-cli 0.10.6__tar.gz → 0.10.7__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.
Files changed (38) hide show
  1. {readability_cli-0.10.6 → readability_cli-0.10.7}/PKG-INFO +9 -3
  2. {readability_cli-0.10.6 → readability_cli-0.10.7}/README.md +8 -2
  3. {readability_cli-0.10.6 → readability_cli-0.10.7}/pyproject.toml +1 -1
  4. {readability_cli-0.10.6 → readability_cli-0.10.7}/readability/tools.py +2 -1
  5. {readability_cli-0.10.6 → readability_cli-0.10.7}/test_checking.py +4 -1
  6. {readability_cli-0.10.6 → readability_cli-0.10.7}/uv.lock +1 -1
  7. {readability_cli-0.10.6 → readability_cli-0.10.7}/.github/workflows/ci.yml +0 -0
  8. {readability_cli-0.10.6 → readability_cli-0.10.7}/.github/workflows/publish.yml +0 -0
  9. {readability_cli-0.10.6 → readability_cli-0.10.7}/.github/workflows/update-guides.yml +0 -0
  10. {readability_cli-0.10.6 → readability_cli-0.10.7}/.gitignore +0 -0
  11. {readability_cli-0.10.6 → readability_cli-0.10.7}/.python-version +0 -0
  12. {readability_cli-0.10.6 → readability_cli-0.10.7}/LICENSE +0 -0
  13. {readability_cli-0.10.6 → readability_cli-0.10.7}/biome.json +0 -0
  14. {readability_cli-0.10.6 → readability_cli-0.10.7}/readability/__init__.py +0 -0
  15. {readability_cli-0.10.6 → readability_cli-0.10.7}/readability/checking.py +0 -0
  16. {readability_cli-0.10.6 → readability_cli-0.10.7}/readability/cli.py +0 -0
  17. {readability_cli-0.10.6 → readability_cli-0.10.7}/readability/configs/biome-default.json +0 -0
  18. {readability_cli-0.10.6 → readability_cli-0.10.7}/readability/configs/pyrefly.toml +0 -0
  19. {readability_cli-0.10.6 → readability_cli-0.10.7}/readability/configs/ruff.toml +0 -0
  20. {readability_cli-0.10.6 → readability_cli-0.10.7}/readability/guide.py +0 -0
  21. {readability_cli-0.10.6 → readability_cli-0.10.7}/readability/guides/Rguide.md +0 -0
  22. {readability_cli-0.10.6 → readability_cli-0.10.7}/readability/guides/cppguide.md +0 -0
  23. {readability_cli-0.10.6 → readability_cli-0.10.7}/readability/guides/csharpguide.md +0 -0
  24. {readability_cli-0.10.6 → readability_cli-0.10.7}/readability/guides/docguide-style.md +0 -0
  25. {readability_cli-0.10.6 → readability_cli-0.10.7}/readability/guides/go-guide.md +0 -0
  26. {readability_cli-0.10.6 → readability_cli-0.10.7}/readability/guides/htmlcssguide.md +0 -0
  27. {readability_cli-0.10.6 → readability_cli-0.10.7}/readability/guides/javaguide.md +0 -0
  28. {readability_cli-0.10.6 → readability_cli-0.10.7}/readability/guides/jsguide.md +0 -0
  29. {readability_cli-0.10.6 → readability_cli-0.10.7}/readability/guides/jsoncguide.md +0 -0
  30. {readability_cli-0.10.6 → readability_cli-0.10.7}/readability/guides/objcguide.md +0 -0
  31. {readability_cli-0.10.6 → readability_cli-0.10.7}/readability/guides/pyguide.md +0 -0
  32. {readability_cli-0.10.6 → readability_cli-0.10.7}/readability/guides/shellguide.md +0 -0
  33. {readability_cli-0.10.6 → readability_cli-0.10.7}/readability/guides/tsguide.md +0 -0
  34. {readability_cli-0.10.6 → readability_cli-0.10.7}/readability/guides/vimscriptguide.md +0 -0
  35. {readability_cli-0.10.6 → readability_cli-0.10.7}/readability/outline.py +0 -0
  36. {readability_cli-0.10.6 → readability_cli-0.10.7}/test_guide.py +0 -0
  37. {readability_cli-0.10.6 → readability_cli-0.10.7}/test_outline.py +0 -0
  38. {readability_cli-0.10.6 → readability_cli-0.10.7}/test_package.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: readability-cli
3
- Version: 0.10.6
3
+ Version: 0.10.7
4
4
  Summary: A CLI to lint, format, and type-check code with Google-style defaults, and pull Google style guides in markdown format.
5
5
  Project-URL: Homepage, https://github.com/owahltinez/readability
6
6
  Project-URL: Repository, https://github.com/owahltinez/readability
@@ -132,6 +132,12 @@ to Ruff's — which has published seventeen minor series, roughly one every six
132
132
  weeks. If you need a fixed version, install it: an installed tool always wins
133
133
  over a fetched one.
134
134
 
135
+ Biome is the temporary exception, pinned to 2.5.14: from 2.5.15 it panics
136
+ (`path is expected to be under the root`) when the bundled config sits outside
137
+ the repository being checked, which is every project without its own
138
+ `biome.json` ([biomejs/biome#12158](https://github.com/biomejs/biome/issues/12158)).
139
+ The pin goes once upstream fixes it.
140
+
135
141
  Set `UV_OFFLINE=1` to forbid fetching. A tool that then cannot be reached fails
136
142
  the run rather than passing it.
137
143
 
@@ -204,8 +210,8 @@ For Python, add `[tool.ruff]` or `[tool.pyrefly]` to `pyproject.toml`, or use
204
210
  their native project configurations in place of bundled defaults. Readability
205
211
  does not interpret EditorConfig itself; a canonical tool such as Biome may opt
206
212
  into it through that tool's native configuration. Neither gofmt nor goimports
207
- has project settings. The bundled Biome file requires Biome 2.5 or later,
208
- matching the fallback runner's version floor.
213
+ has project settings. The bundled Biome file requires Biome 2.5 or later; the
214
+ fallback runner is pinned to 2.5.14 for now.
209
215
 
210
216
  Configuration is found per file, in the file's own directory and then its
211
217
  ancestors, which is where each canonical tool looks. A package keeping its
@@ -118,6 +118,12 @@ to Ruff's — which has published seventeen minor series, roughly one every six
118
118
  weeks. If you need a fixed version, install it: an installed tool always wins
119
119
  over a fetched one.
120
120
 
121
+ Biome is the temporary exception, pinned to 2.5.14: from 2.5.15 it panics
122
+ (`path is expected to be under the root`) when the bundled config sits outside
123
+ the repository being checked, which is every project without its own
124
+ `biome.json` ([biomejs/biome#12158](https://github.com/biomejs/biome/issues/12158)).
125
+ The pin goes once upstream fixes it.
126
+
121
127
  Set `UV_OFFLINE=1` to forbid fetching. A tool that then cannot be reached fails
122
128
  the run rather than passing it.
123
129
 
@@ -190,8 +196,8 @@ For Python, add `[tool.ruff]` or `[tool.pyrefly]` to `pyproject.toml`, or use
190
196
  their native project configurations in place of bundled defaults. Readability
191
197
  does not interpret EditorConfig itself; a canonical tool such as Biome may opt
192
198
  into it through that tool's native configuration. Neither gofmt nor goimports
193
- has project settings. The bundled Biome file requires Biome 2.5 or later,
194
- matching the fallback runner's version floor.
199
+ has project settings. The bundled Biome file requires Biome 2.5 or later; the
200
+ fallback runner is pinned to 2.5.14 for now.
195
201
 
196
202
  Configuration is found per file, in the file's own directory and then its
197
203
  ancestors, which is where each canonical tool looks. A package keeping its
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "readability-cli"
3
- version = "0.10.6"
3
+ version = "0.10.7"
4
4
  description = "A CLI to lint, format, and type-check code with Google-style defaults, and pull Google style guides in markdown format."
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.12"
@@ -329,7 +329,8 @@ def _plan(
329
329
  TOOL_RUNNERS = {
330
330
  "ruff": ["uvx", "ruff>=0.15"],
331
331
  "pyrefly": ["uvx", "pyrefly>=1.2"],
332
- "biome": ["npx", "-y", "@biomejs/biome@>=2.5"],
332
+ # Pinned until 2.5.15's panic with an external config is fixed upstream
333
+ "biome": ["npx", "-y", "@biomejs/biome@2.5.14"],
333
334
  }
334
335
 
335
336
  # One formatter owner per extension; configuration never changes selection
@@ -215,7 +215,7 @@ def test_check_command_biome(
215
215
  assert [
216
216
  "npx",
217
217
  "-y",
218
- "@biomejs/biome@>=2.5",
218
+ "@biomejs/biome@2.5.14",
219
219
  phase,
220
220
  "--no-errors-on-unmatched",
221
221
  str((Path(cwds[0]) / "script.js").resolve()),
@@ -2166,6 +2166,9 @@ def test_every_runner_floors_a_version(tmp_path: Path) -> None:
2166
2166
  release of theirs. The first ceiling written here was stale in two days.
2167
2167
  """
2168
2168
  for binary, runner in TOOL_RUNNERS.items():
2169
+ # Biome is pinned until biomejs/biome#12158 is fixed upstream
2170
+ if binary == "biome":
2171
+ continue
2169
2172
  spec = runner[-1]
2170
2173
  assert ">=" in spec, f"{binary} has no floor: {spec}"
2171
2174
  assert "<" not in spec, f"{binary} has a ceiling: {spec}"
@@ -198,7 +198,7 @@ wheels = [
198
198
 
199
199
  [[package]]
200
200
  name = "readability-cli"
201
- version = "0.10.6"
201
+ version = "0.10.7"
202
202
  source = { editable = "." }
203
203
  dependencies = [
204
204
  { name = "click" },