readability-cli 0.10.6__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.
- {readability_cli-0.10.6 → readability_cli-0.11.0}/PKG-INFO +11 -11
- {readability_cli-0.10.6 → readability_cli-0.11.0}/README.md +11 -11
- {readability_cli-0.10.6 → readability_cli-0.11.0}/pyproject.toml +1 -1
- {readability_cli-0.10.6 → readability_cli-0.11.0}/readability/configs/biome-default.json +3 -0
- {readability_cli-0.10.6 → readability_cli-0.11.0}/readability/guide.py +5 -5
- {readability_cli-0.10.6 → readability_cli-0.11.0}/readability/guides/cppguide.md +1751 -1205
- {readability_cli-0.10.6 → readability_cli-0.11.0}/readability/guides/docguide-style.md +169 -27
- {readability_cli-0.10.6 → readability_cli-0.11.0}/readability/guides/go-guide.md +19 -7
- {readability_cli-0.10.6 → readability_cli-0.11.0}/readability/guides/htmlcssguide.md +9 -15
- readability_cli-0.11.0/readability/guides/javaguide.md +1472 -0
- {readability_cli-0.10.6 → readability_cli-0.11.0}/readability/guides/jsguide.md +89 -12
- {readability_cli-0.10.6 → readability_cli-0.11.0}/readability/guides/pyguide.md +11 -13
- {readability_cli-0.10.6 → readability_cli-0.11.0}/readability/guides/shellguide.md +1 -1
- {readability_cli-0.10.6 → readability_cli-0.11.0}/readability/guides/tsguide.md +2080 -647
- {readability_cli-0.10.6 → readability_cli-0.11.0}/readability/tools.py +2 -1
- {readability_cli-0.10.6 → readability_cli-0.11.0}/test_checking.py +30 -4
- {readability_cli-0.10.6 → readability_cli-0.11.0}/uv.lock +1 -1
- readability_cli-0.10.6/readability/guides/javaguide.md +0 -1205
- {readability_cli-0.10.6 → readability_cli-0.11.0}/.github/workflows/ci.yml +0 -0
- {readability_cli-0.10.6 → readability_cli-0.11.0}/.github/workflows/publish.yml +0 -0
- {readability_cli-0.10.6 → readability_cli-0.11.0}/.github/workflows/update-guides.yml +0 -0
- {readability_cli-0.10.6 → readability_cli-0.11.0}/.gitignore +0 -0
- {readability_cli-0.10.6 → readability_cli-0.11.0}/.python-version +0 -0
- {readability_cli-0.10.6 → readability_cli-0.11.0}/LICENSE +0 -0
- {readability_cli-0.10.6 → readability_cli-0.11.0}/biome.json +0 -0
- {readability_cli-0.10.6 → readability_cli-0.11.0}/readability/__init__.py +0 -0
- {readability_cli-0.10.6 → readability_cli-0.11.0}/readability/checking.py +0 -0
- {readability_cli-0.10.6 → readability_cli-0.11.0}/readability/cli.py +0 -0
- {readability_cli-0.10.6 → readability_cli-0.11.0}/readability/configs/pyrefly.toml +0 -0
- {readability_cli-0.10.6 → readability_cli-0.11.0}/readability/configs/ruff.toml +0 -0
- {readability_cli-0.10.6 → readability_cli-0.11.0}/readability/guides/Rguide.md +0 -0
- {readability_cli-0.10.6 → readability_cli-0.11.0}/readability/guides/csharpguide.md +0 -0
- {readability_cli-0.10.6 → readability_cli-0.11.0}/readability/guides/jsoncguide.md +0 -0
- {readability_cli-0.10.6 → readability_cli-0.11.0}/readability/guides/objcguide.md +0 -0
- {readability_cli-0.10.6 → readability_cli-0.11.0}/readability/guides/vimscriptguide.md +0 -0
- {readability_cli-0.10.6 → readability_cli-0.11.0}/readability/outline.py +0 -0
- {readability_cli-0.10.6 → readability_cli-0.11.0}/test_guide.py +0 -0
- {readability_cli-0.10.6 → readability_cli-0.11.0}/test_outline.py +0 -0
- {readability_cli-0.10.6 → readability_cli-0.11.0}/test_package.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: readability-cli
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.11.0
|
|
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
|
|
@@ -103,15 +103,15 @@ such as gofmt and goimports, are unaffected by it.
|
|
|
103
103
|
|
|
104
104
|
### Supported Formats
|
|
105
105
|
|
|
106
|
-
| Formats
|
|
107
|
-
|
|
|
108
|
-
| `.py`
|
|
109
|
-
| `.js`, `.jsx`, `.ts`, `.tsx`, `.json`, `.jsonc`, `.css`, `.html` | Biome | `biome.json` or `biome.jsonc` |
|
|
110
|
-
| `.go`
|
|
111
|
-
| `.sh`, `.bash`
|
|
112
|
-
| `.rs`
|
|
106
|
+
| Formats | Owners | Project configuration |
|
|
107
|
+
| ----------------------------------------------------------------------- | --------------------------------------- | ------------------------------------- |
|
|
108
|
+
| `.py` | Ruff lint/format; Pyrefly type checking | Ruff and Pyrefly native configuration |
|
|
109
|
+
| `.js`, `.jsx`, `.ts`, `.tsx`, `.json`, `.jsonc`, `.css`, `.html`, `.md` | Biome | `biome.json` or `biome.jsonc` |
|
|
110
|
+
| `.go` | gofmt, goimports | None |
|
|
111
|
+
| `.sh`, `.bash` | shfmt format; shellcheck lint | None |
|
|
112
|
+
| `.rs` | rustfmt | None |
|
|
113
113
|
|
|
114
|
-
|
|
114
|
+
YAML, SCSS, JSONL, and extensions not listed above are unsupported.
|
|
115
115
|
An unsupported-only path reports that nothing was checked and exits
|
|
116
116
|
successfully.
|
|
117
117
|
|
|
@@ -204,8 +204,8 @@ For Python, add `[tool.ruff]` or `[tool.pyrefly]` to `pyproject.toml`, or use
|
|
|
204
204
|
their native project configurations in place of bundled defaults. Readability
|
|
205
205
|
does not interpret EditorConfig itself; a canonical tool such as Biome may opt
|
|
206
206
|
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
|
-
|
|
207
|
+
has project settings. The bundled Biome file requires Biome 2.5 or later, and
|
|
208
|
+
Markdown needs 2.6.
|
|
209
209
|
|
|
210
210
|
Configuration is found per file, in the file's own directory and then its
|
|
211
211
|
ancestors, which is where each canonical tool looks. A package keeping its
|
|
@@ -89,15 +89,15 @@ such as gofmt and goimports, are unaffected by it.
|
|
|
89
89
|
|
|
90
90
|
### Supported Formats
|
|
91
91
|
|
|
92
|
-
| Formats
|
|
93
|
-
|
|
|
94
|
-
| `.py`
|
|
95
|
-
| `.js`, `.jsx`, `.ts`, `.tsx`, `.json`, `.jsonc`, `.css`, `.html` | Biome | `biome.json` or `biome.jsonc` |
|
|
96
|
-
| `.go`
|
|
97
|
-
| `.sh`, `.bash`
|
|
98
|
-
| `.rs`
|
|
99
|
-
|
|
100
|
-
|
|
92
|
+
| Formats | Owners | Project configuration |
|
|
93
|
+
| ----------------------------------------------------------------------- | --------------------------------------- | ------------------------------------- |
|
|
94
|
+
| `.py` | Ruff lint/format; Pyrefly type checking | Ruff and Pyrefly native configuration |
|
|
95
|
+
| `.js`, `.jsx`, `.ts`, `.tsx`, `.json`, `.jsonc`, `.css`, `.html`, `.md` | Biome | `biome.json` or `biome.jsonc` |
|
|
96
|
+
| `.go` | gofmt, goimports | None |
|
|
97
|
+
| `.sh`, `.bash` | shfmt format; shellcheck lint | None |
|
|
98
|
+
| `.rs` | rustfmt | None |
|
|
99
|
+
|
|
100
|
+
YAML, SCSS, JSONL, and extensions not listed above are unsupported.
|
|
101
101
|
An unsupported-only path reports that nothing was checked and exits
|
|
102
102
|
successfully.
|
|
103
103
|
|
|
@@ -190,8 +190,8 @@ For Python, add `[tool.ruff]` or `[tool.pyrefly]` to `pyproject.toml`, or use
|
|
|
190
190
|
their native project configurations in place of bundled defaults. Readability
|
|
191
191
|
does not interpret EditorConfig itself; a canonical tool such as Biome may opt
|
|
192
192
|
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
|
-
|
|
193
|
+
has project settings. The bundled Biome file requires Biome 2.5 or later, and
|
|
194
|
+
Markdown needs 2.6.
|
|
195
195
|
|
|
196
196
|
Configuration is found per file, in the file's own directory and then its
|
|
197
197
|
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.
|
|
3
|
+
version = "0.11.0"
|
|
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"
|
|
@@ -60,13 +60,13 @@ LANGUAGE_MAP = {
|
|
|
60
60
|
"docguide": "docguide/style.md",
|
|
61
61
|
"markdown": "docguide/style.md",
|
|
62
62
|
"go": "go/guide.md",
|
|
63
|
-
"cpp": "cppguide.
|
|
64
|
-
"c++": "cppguide.
|
|
65
|
-
"java": "javaguide.
|
|
63
|
+
"cpp": "cppguide.md",
|
|
64
|
+
"c++": "cppguide.md",
|
|
65
|
+
"java": "javaguide.md",
|
|
66
66
|
"js": "jsguide.md",
|
|
67
67
|
"javascript": "jsguide.md",
|
|
68
|
-
"ts": "tsguide.
|
|
69
|
-
"typescript": "tsguide.
|
|
68
|
+
"ts": "tsguide.md",
|
|
69
|
+
"typescript": "tsguide.md",
|
|
70
70
|
"html": "htmlcssguide.md",
|
|
71
71
|
"css": "htmlcssguide.md",
|
|
72
72
|
"json": "jsoncguide.md",
|