Skip to content

Commit 7e73aaa

Browse files
committed
Use path instead of file
1 parent fa5bab7 commit 7e73aaa

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

‎extra/specifications/schemas/direct-url.schema.json‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"subdirectory": {
1212
"type": "string"
1313
},
14-
"file": {
14+
"path": {
1515
"type": "string"
1616
},
1717
"DirInfo": {
@@ -70,8 +70,8 @@
7070
"subdirectory": {
7171
"$ref": "#/definitions/subdirectory"
7272
},
73-
"file": {
74-
"$ref": "#/definitions/file"
73+
"path": {
74+
"$ref": "#/definitions/path"
7575
}
7676
},
7777
"required": ["url"]

‎source/specifications/direct-url-data-structure.rst‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,10 +138,10 @@ to specify where ``pyproject.toml`` or ``setup.py`` is located.
138138
Archives in Version Control
139139
---------------------------
140140

141-
A top-level ``file`` field MAY be present for VCS repositories, containing the
141+
A top-level ``path`` field MAY be present for VCS repositories, containing the
142142
location of an archive relative to the root of a VCS repository. The filename
143143
of the path must be a valid archive name. This key is mutually exclusive
144-
with ``subdirectory``. Note that ``file`` has no PEP 508 equivalent.
144+
with ``subdirectory``. Note that ``path`` has no PEP 508 equivalent.
145145

146146
.. _direct-url-data-structure-registered-vcs:
147147

0 commit comments

Comments
 (0)