add inline dependencies #269

Open
Alistair1231 wants to merge 2 commits from Alistair1231/inline-dependencies into main
Showing only changes of commit 15e03281d4 - Show all commits
+3
View File
@@ -3,6 +3,9 @@
# dependencies = [ # dependencies = [
# "tqdm", # "tqdm",
# "requests", # "requests",
# "dbus-python",
# "gbinder",
# "PyGObject",
# "InquirerPy" # "InquirerPy"
copilot-pull-request-reviewer[bot] commented 2026-04-06 07:34:04 -04:00 (Migrated from github.com)
Review

The inline # /// script metadata is parsed as TOML (PEP 723 style). In a TOML array, items must be comma-separated; as written, the dependencies = [ block is invalid and tools like uv run --script will fail to parse it. Add commas between the dependency strings (a trailing comma is also fine).

#   "InquirerPy",
The inline `# /// script` metadata is parsed as TOML (PEP 723 style). In a TOML array, items must be comma-separated; as written, the `dependencies = [` block is invalid and tools like `uv run --script` will fail to parse it. Add commas between the dependency strings (a trailing comma is also fine). ```suggestion # "InquirerPy", ```
# ] # ]
# /// # ///
copilot-pull-request-reviewer[bot] commented 2026-04-06 07:34:05 -04:00 (Migrated from github.com)
Review

This introduces a second source of truth for runtime dependencies (inline here and also in requirements.txt). That duplication can drift over time and cause confusing install/runtime mismatches. Consider either generating/deriving one from the other, or documenting which one is authoritative (and when each should be updated).


This introduces a second source of truth for runtime dependencies (inline here and also in `requirements.txt`). That duplication can drift over time and cause confusing install/runtime mismatches. Consider either generating/deriving one from the other, or documenting which one is authoritative (and when each should be updated). ```suggestion ```