add inline dependencies #269
@@ -3,6 +3,9 @@
|
|||||||
# dependencies = [
|
# dependencies = [
|
||||||
# "tqdm",
|
# "tqdm",
|
||||||
# "requests",
|
# "requests",
|
||||||
|
# "dbus-python",
|
||||||
|
# "gbinder",
|
||||||
|
# "PyGObject",
|
||||||
# "InquirerPy"
|
# "InquirerPy"
|
||||||
|
|
|||||||
# ]
|
# ]
|
||||||
# ///
|
# ///
|
||||||
|
This introduces a second source of truth for runtime dependencies (inline here and also in 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
```
|
|||||||
|
|||||||
Reference in New Issue
Block a user
The inline
# /// scriptmetadata is parsed as TOML (PEP 723 style). In a TOML array, items must be comma-separated; as written, thedependencies = [block is invalid and tools likeuv run --scriptwill fail to parse it. Add commas between the dependency strings (a trailing comma is also fine).