riched 1.3.1__tar.gz → 1.3.2__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 (39) hide show
  1. {riched-1.3.1 → riched-1.3.2}/PKG-INFO +5 -2
  2. {riched-1.3.1 → riched-1.3.2}/README.md +2 -0
  3. {riched-1.3.1 → riched-1.3.2}/pyproject.toml +4 -2
  4. {riched-1.3.1 → riched-1.3.2}/uv.lock +8 -3
  5. {riched-1.3.1 → riched-1.3.2}/.gitignore +0 -0
  6. {riched-1.3.1 → riched-1.3.2}/.python-version +0 -0
  7. {riched-1.3.1 → riched-1.3.2}/AGENTS.md +0 -0
  8. {riched-1.3.1 → riched-1.3.2}/docs/command-palette.svg +0 -0
  9. {riched-1.3.1 → riched-1.3.2}/docs/markdown-preview.svg +0 -0
  10. {riched-1.3.1 → riched-1.3.2}/docs/python-buffer.svg +0 -0
  11. {riched-1.3.1 → riched-1.3.2}/docs/search-replace.svg +0 -0
  12. {riched-1.3.1 → riched-1.3.2}/src/rich_editor/__init__.py +0 -0
  13. {riched-1.3.1 → riched-1.3.2}/src/rich_editor/app.py +0 -0
  14. {riched-1.3.1 → riched-1.3.2}/src/rich_editor/bindings.yaml +0 -0
  15. {riched-1.3.1 → riched-1.3.2}/src/rich_editor/cli.py +0 -0
  16. {riched-1.3.1 → riched-1.3.2}/src/rich_editor/editor.py +0 -0
  17. {riched-1.3.1 → riched-1.3.2}/src/rich_editor/formatting.py +0 -0
  18. {riched-1.3.1 → riched-1.3.2}/src/rich_editor/keybindings.py +0 -0
  19. {riched-1.3.1 → riched-1.3.2}/src/rich_editor/quick_open.py +0 -0
  20. {riched-1.3.1 → riched-1.3.2}/src/rich_editor/screens.py +0 -0
  21. {riched-1.3.1 → riched-1.3.2}/src/rich_editor/settings.py +0 -0
  22. {riched-1.3.1 → riched-1.3.2}/src/rich_editor/syntax.py +0 -0
  23. {riched-1.3.1 → riched-1.3.2}/tests/__init__.py +0 -0
  24. {riched-1.3.1 → riched-1.3.2}/tests/helpers.py +0 -0
  25. {riched-1.3.1 → riched-1.3.2}/tests/runner.py +0 -0
  26. {riched-1.3.1 → riched-1.3.2}/tests/test_cli.py +0 -0
  27. {riched-1.3.1 → riched-1.3.2}/tests/test_command_palette.py +0 -0
  28. {riched-1.3.1 → riched-1.3.2}/tests/test_create_file.py +0 -0
  29. {riched-1.3.1 → riched-1.3.2}/tests/test_dirty_buffers.py +0 -0
  30. {riched-1.3.1 → riched-1.3.2}/tests/test_editor_shortcuts.py +0 -0
  31. {riched-1.3.1 → riched-1.3.2}/tests/test_file_io.py +0 -0
  32. {riched-1.3.1 → riched-1.3.2}/tests/test_file_tree.py +0 -0
  33. {riched-1.3.1 → riched-1.3.2}/tests/test_footer.py +0 -0
  34. {riched-1.3.1 → riched-1.3.2}/tests/test_formatting.py +0 -0
  35. {riched-1.3.1 → riched-1.3.2}/tests/test_markdown_preview.py +0 -0
  36. {riched-1.3.1 → riched-1.3.2}/tests/test_quick_open.py +0 -0
  37. {riched-1.3.1 → riched-1.3.2}/tests/test_refresh.py +0 -0
  38. {riched-1.3.1 → riched-1.3.2}/tests/test_replace.py +0 -0
  39. {riched-1.3.1 → riched-1.3.2}/tests/test_syntax.py +0 -0
@@ -1,15 +1,16 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: riched
3
- Version: 1.3.1
3
+ Version: 1.3.2
4
4
  Summary: Terminal Editor with VS Code Keybindings
5
5
  Project-URL: Repository, https://github.com/hoishing/riched
6
6
  Requires-Python: >=3.12
7
7
  Requires-Dist: pyyaml>=6.0.3
8
8
  Requires-Dist: textual[syntax]>=8.2.4
9
9
  Requires-Dist: trash-cli>=0.24.5.26
10
- Requires-Dist: tree-sitter-dockerfile>=0.2.0
11
10
  Requires-Dist: tree-sitter-make>=1.1.1
12
11
  Requires-Dist: tree-sitter-typescript>=0.23.2
12
+ Provides-Extra: dockerfile
13
+ Requires-Dist: tree-sitter-dockerfile>=0.2.0; extra == 'dockerfile'
13
14
  Description-Content-Type: text/markdown
14
15
 
15
16
  # Riched
@@ -148,6 +149,8 @@ Click the file type label to choose another language for the current buffer. Man
148
149
 
149
150
  Detected extensions include Python, JavaScript, TypeScript, TSX, Bash, environment files, HTML, CSS, JSON, JSONC, JSON Lines, Markdown, YAML, TOML, INI-style config files, XML, SQL, Java, Go, Rust, Dockerfile, Makefile, and logs.
150
151
 
152
+ Dockerfile syntax highlighting uses the optional `tree-sitter-dockerfile` package. If that package is unavailable for your platform, Riched still opens Dockerfiles and supports Dockerfile comment toggling, but leaves Dockerfile tree-sitter highlighting disabled. Install `riched[dockerfile]` on supported platforms to enable it.
153
+
151
154
  ## Formatting
152
155
 
153
156
  The `⌥⇧F` shortcut formats the current buffer with external formatter CLIs:
@@ -134,6 +134,8 @@ Click the file type label to choose another language for the current buffer. Man
134
134
 
135
135
  Detected extensions include Python, JavaScript, TypeScript, TSX, Bash, environment files, HTML, CSS, JSON, JSONC, JSON Lines, Markdown, YAML, TOML, INI-style config files, XML, SQL, Java, Go, Rust, Dockerfile, Makefile, and logs.
136
136
 
137
+ Dockerfile syntax highlighting uses the optional `tree-sitter-dockerfile` package. If that package is unavailable for your platform, Riched still opens Dockerfiles and supports Dockerfile comment toggling, but leaves Dockerfile tree-sitter highlighting disabled. Install `riched[dockerfile]` on supported platforms to enable it.
138
+
137
139
  ## Formatting
138
140
 
139
141
  The `⌥⇧F` shortcut formats the current buffer with external formatter CLIs:
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "riched"
3
- version = "1.3.1"
3
+ version = "1.3.2"
4
4
  description = "Terminal Editor with VS Code Keybindings"
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.12"
@@ -8,11 +8,13 @@ dependencies = [
8
8
  "pyyaml>=6.0.3",
9
9
  "textual[syntax]>=8.2.4",
10
10
  "trash-cli>=0.24.5.26",
11
- "tree-sitter-dockerfile>=0.2.0",
12
11
  "tree-sitter-make>=1.1.1",
13
12
  "tree-sitter-typescript>=0.23.2",
14
13
  ]
15
14
 
15
+ [project.optional-dependencies]
16
+ dockerfile = ["tree-sitter-dockerfile>=0.2.0"]
17
+
16
18
  [project.urls]
17
19
  Repository = "https://github.com/hoishing/riched"
18
20
 
@@ -187,17 +187,21 @@ wheels = [
187
187
 
188
188
  [[package]]
189
189
  name = "riched"
190
- version = "1.3.1"
190
+ version = "1.3.2"
191
191
  source = { editable = "." }
192
192
  dependencies = [
193
193
  { name = "pyyaml" },
194
194
  { name = "textual", extra = ["syntax"] },
195
195
  { name = "trash-cli" },
196
- { name = "tree-sitter-dockerfile" },
197
196
  { name = "tree-sitter-make" },
198
197
  { name = "tree-sitter-typescript" },
199
198
  ]
200
199
 
200
+ [package.optional-dependencies]
201
+ dockerfile = [
202
+ { name = "tree-sitter-dockerfile" },
203
+ ]
204
+
201
205
  [package.dev-dependencies]
202
206
  dev = [
203
207
  { name = "basedpyright" },
@@ -209,10 +213,11 @@ requires-dist = [
209
213
  { name = "pyyaml", specifier = ">=6.0.3" },
210
214
  { name = "textual", extras = ["syntax"], specifier = ">=8.2.4" },
211
215
  { name = "trash-cli", specifier = ">=0.24.5.26" },
212
- { name = "tree-sitter-dockerfile", specifier = ">=0.2.0" },
216
+ { name = "tree-sitter-dockerfile", marker = "extra == 'dockerfile'", specifier = ">=0.2.0" },
213
217
  { name = "tree-sitter-make", specifier = ">=1.1.1" },
214
218
  { name = "tree-sitter-typescript", specifier = ">=0.23.2" },
215
219
  ]
220
+ provides-extras = ["dockerfile"]
216
221
 
217
222
  [package.metadata.requires-dev]
218
223
  dev = [
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes