prfs 0.1.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.
- prfs-0.1.0/.gitignore +1 -0
- prfs-0.1.0/LICENSE +201 -0
- prfs-0.1.0/Makefile +12 -0
- prfs-0.1.0/PKG-INFO +76 -0
- prfs-0.1.0/README.md +60 -0
- prfs-0.1.0/pyproject.toml +39 -0
- prfs-0.1.0/pyrightconfig.json +4 -0
- prfs-0.1.0/src/prfs/__init__.py +0 -0
- prfs-0.1.0/src/prfs/cli.py +93 -0
- prfs-0.1.0/src/prfs/github.py +68 -0
- prfs-0.1.0/src/prfs/py.typed +0 -0
- prfs-0.1.0/src/prfs/thread.py +31 -0
- prfs-0.1.0/tests/conftest.py +17 -0
- prfs-0.1.0/tests/test_cli.py +85 -0
- prfs-0.1.0/tests/test_github.py +118 -0
- prfs-0.1.0/tests/test_thread.py +97 -0
- prfs-0.1.0/uv.lock +173 -0
prfs-0.1.0/.gitignore
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__pycache__
|
prfs-0.1.0/LICENSE
ADDED
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
Apache License
|
|
2
|
+
Version 2.0, January 2004
|
|
3
|
+
http://www.apache.org/licenses/
|
|
4
|
+
|
|
5
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
6
|
+
|
|
7
|
+
1. Definitions.
|
|
8
|
+
|
|
9
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
10
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
11
|
+
|
|
12
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
13
|
+
the copyright owner that is granting the License.
|
|
14
|
+
|
|
15
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
16
|
+
other entities that control, are controlled by, or are under common
|
|
17
|
+
control with that entity. For the purposes of this definition,
|
|
18
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
19
|
+
direction or management of such entity, whether by contract or
|
|
20
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
21
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
22
|
+
|
|
23
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
24
|
+
exercising permissions granted by this License.
|
|
25
|
+
|
|
26
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
27
|
+
including but not limited to software source code, documentation
|
|
28
|
+
source, and configuration files.
|
|
29
|
+
|
|
30
|
+
"Object" form shall mean any form resulting from mechanical
|
|
31
|
+
transformation or translation of a Source form, including but
|
|
32
|
+
not limited to compiled object code, generated documentation,
|
|
33
|
+
and conversions to other media types.
|
|
34
|
+
|
|
35
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
36
|
+
Object form, made available under the License, as indicated by a
|
|
37
|
+
copyright notice that is included in or attached to the work
|
|
38
|
+
(an example is provided in the Appendix below).
|
|
39
|
+
|
|
40
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
41
|
+
form, that is based on (or derived from) the Work and for which the
|
|
42
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
43
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
44
|
+
of this License, Derivative Works shall not include works that remain
|
|
45
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
46
|
+
the Work and Derivative Works thereof.
|
|
47
|
+
|
|
48
|
+
"Contribution" shall mean any work of authorship, including
|
|
49
|
+
the original version of the Work and any modifications or additions
|
|
50
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
51
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
52
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
53
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
54
|
+
means any form of electronic, verbal, or written communication sent
|
|
55
|
+
to the Licensor or its representatives, including but not limited to
|
|
56
|
+
communication on electronic mailing lists, source code control systems,
|
|
57
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
58
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
59
|
+
excluding communication that is conspicuously marked or otherwise
|
|
60
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
61
|
+
|
|
62
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
63
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
64
|
+
subsequently incorporated within the Work.
|
|
65
|
+
|
|
66
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
67
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
68
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
69
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
70
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
71
|
+
Work and such Derivative Works in Source or Object form.
|
|
72
|
+
|
|
73
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
74
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
75
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
76
|
+
(except as stated in this section) patent license to make, have made,
|
|
77
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
78
|
+
where such license applies only to those patent claims licensable
|
|
79
|
+
by such Contributor that are necessarily infringed by their
|
|
80
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
81
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
82
|
+
institute patent litigation against any entity (including a
|
|
83
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
84
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
85
|
+
or contributory patent infringement, then any patent licenses
|
|
86
|
+
granted to You under this License for that Work shall terminate
|
|
87
|
+
as of the date such litigation is filed.
|
|
88
|
+
|
|
89
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
90
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
91
|
+
modifications, and in Source or Object form, provided that You
|
|
92
|
+
meet the following conditions:
|
|
93
|
+
|
|
94
|
+
(a) You must give any other recipients of the Work or
|
|
95
|
+
Derivative Works a copy of this License; and
|
|
96
|
+
|
|
97
|
+
(b) You must cause any modified files to carry prominent notices
|
|
98
|
+
stating that You changed the files; and
|
|
99
|
+
|
|
100
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
101
|
+
that You distribute, all copyright, patent, trademark, and
|
|
102
|
+
attribution notices from the Source form of the Work,
|
|
103
|
+
excluding those notices that do not pertain to any part of
|
|
104
|
+
the Derivative Works; and
|
|
105
|
+
|
|
106
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
107
|
+
distribution, then any Derivative Works that You distribute must
|
|
108
|
+
include a readable copy of the attribution notices contained
|
|
109
|
+
within such NOTICE file, excluding those notices that do not
|
|
110
|
+
pertain to any part of the Derivative Works, in at least one
|
|
111
|
+
of the following places: within a NOTICE text file distributed
|
|
112
|
+
as part of the Derivative Works; within the Source form or
|
|
113
|
+
documentation, if provided along with the Derivative Works; or,
|
|
114
|
+
within a display generated by the Derivative Works, if and
|
|
115
|
+
wherever such third-party notices normally appear. The contents
|
|
116
|
+
of the NOTICE file are for informational purposes only and
|
|
117
|
+
do not modify the License. You may add Your own attribution
|
|
118
|
+
notices within Derivative Works that You distribute, alongside
|
|
119
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
120
|
+
that such additional attribution notices cannot be construed
|
|
121
|
+
as modifying the License.
|
|
122
|
+
|
|
123
|
+
You may add Your own copyright statement to Your modifications and
|
|
124
|
+
may provide additional or different license terms and conditions
|
|
125
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
126
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
127
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
128
|
+
the conditions stated in this License.
|
|
129
|
+
|
|
130
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
131
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
132
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
133
|
+
this License, without any additional terms or conditions.
|
|
134
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
135
|
+
the terms of any separate license agreement you may have executed
|
|
136
|
+
with Licensor regarding such Contributions.
|
|
137
|
+
|
|
138
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
139
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
140
|
+
except as required for reasonable and customary use in describing the
|
|
141
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
142
|
+
|
|
143
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
144
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
145
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
146
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
147
|
+
implied, including, without limitation, any warranties or conditions
|
|
148
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
149
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
150
|
+
appropriateness of using or redistributing the Work and assume any
|
|
151
|
+
risks associated with Your exercise of permissions under this License.
|
|
152
|
+
|
|
153
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
154
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
155
|
+
unless required by applicable law (such as deliberate and grossly
|
|
156
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
157
|
+
liable to You for damages, including any direct, indirect, special,
|
|
158
|
+
incidental, or consequential damages of any character arising as a
|
|
159
|
+
result of this License or out of the use or inability to use the
|
|
160
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
161
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
162
|
+
other commercial damages or losses), even if such Contributor
|
|
163
|
+
has been advised of the possibility of such damages.
|
|
164
|
+
|
|
165
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
166
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
167
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
168
|
+
or other liability obligations and/or rights consistent with this
|
|
169
|
+
License. However, in accepting such obligations, You may act only
|
|
170
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
171
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
172
|
+
defend, and hold each Contributor harmless for any liability
|
|
173
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
174
|
+
of your accepting any such warranty or additional liability.
|
|
175
|
+
|
|
176
|
+
END OF TERMS AND CONDITIONS
|
|
177
|
+
|
|
178
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
179
|
+
|
|
180
|
+
To apply the Apache License to your work, attach the following
|
|
181
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
182
|
+
replaced with your own identifying information. (Don't include
|
|
183
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
184
|
+
comment syntax for the file format. We also recommend that a
|
|
185
|
+
file or class name and description of purpose be included on the
|
|
186
|
+
same "printed page" as the copyright notice for easier
|
|
187
|
+
identification within third-party archives.
|
|
188
|
+
|
|
189
|
+
Copyright [yyyy] [name of copyright owner]
|
|
190
|
+
|
|
191
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
192
|
+
you may not use this file except in compliance with the License.
|
|
193
|
+
You may obtain a copy of the License at
|
|
194
|
+
|
|
195
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
196
|
+
|
|
197
|
+
Unless required by applicable law or agreed to in writing, software
|
|
198
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
199
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
200
|
+
See the License for the specific language governing permissions and
|
|
201
|
+
limitations under the License.
|
prfs-0.1.0/Makefile
ADDED
prfs-0.1.0/PKG-INFO
ADDED
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: prfs
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: Inline PR comments as local files
|
|
5
|
+
Project-URL: Homepage, https://github.com/alexjuda/prfs
|
|
6
|
+
Project-URL: Repository, https://github.com/alexjuda/prfs
|
|
7
|
+
Project-URL: Issues, https://github.com/alexjuda/prfs/issues
|
|
8
|
+
Author-email: alexjuda <alexanderjuda@gmail.com>
|
|
9
|
+
License-Expression: Apache-2.0
|
|
10
|
+
License-File: LICENSE
|
|
11
|
+
Classifier: Programming Language :: Python :: 3
|
|
12
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
13
|
+
Requires-Python: >=3.13
|
|
14
|
+
Requires-Dist: pyyaml
|
|
15
|
+
Description-Content-Type: text/markdown
|
|
16
|
+
|
|
17
|
+
# prfs
|
|
18
|
+
|
|
19
|
+
Pull Request File System. PR review comments as local files. Browse, filter, and script against GitHub PR review threads using familiar Unix tools.
|
|
20
|
+
|
|
21
|
+
## Installation
|
|
22
|
+
|
|
23
|
+
```bash
|
|
24
|
+
uv tool install prfs
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
## How it works
|
|
28
|
+
|
|
29
|
+
`prfs fetch` pulls comments from a GitHub PR to `{repo}/.prfs/{pr_number}/{thread_id}.md`. One markdown file per thread with YAML frontmatter containing the file path and git patch.
|
|
30
|
+
|
|
31
|
+
## Quick start
|
|
32
|
+
|
|
33
|
+
```bash
|
|
34
|
+
gh auth login # gh is used under the hood
|
|
35
|
+
prfs fetch
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
## Features
|
|
39
|
+
|
|
40
|
+
- One file per review thread
|
|
41
|
+
- Works offline after initial fetch
|
|
42
|
+
- Natively integrates with `rg`, `vim`, etc.
|
|
43
|
+
|
|
44
|
+
## Format
|
|
45
|
+
|
|
46
|
+
Each thread file contains:
|
|
47
|
+
- `file`: path and line number (`src/utils.js:42`). This format is supported by Vim jumps with `gF`.
|
|
48
|
+
- `patch`: the git diff where the comment thread was attached to.
|
|
49
|
+
- Comments in markdown separated with `---`.
|
|
50
|
+
|
|
51
|
+
Example comment file (`.prfs/123/456.md`):
|
|
52
|
+
|
|
53
|
+
```markdown
|
|
54
|
+
---
|
|
55
|
+
file: src/utils.js:42
|
|
56
|
+
patch: |
|
|
57
|
+
diff --git a/src/utils.js b/src/utils.js
|
|
58
|
+
--- a/src/utils.js
|
|
59
|
+
+++ b/src/utils.js
|
|
60
|
+
@@ -40,7 +40,7 @@ function getUser() {
|
|
61
|
+
const db = connect();
|
|
62
|
+
- return db.query('users');
|
|
63
|
+
+ return await db.query('users');
|
|
64
|
+
}
|
|
65
|
+
---
|
|
66
|
+
|
|
67
|
+
@alice:
|
|
68
|
+
|
|
69
|
+
The return type should be `Promise<User>` not `User`.
|
|
70
|
+
|
|
71
|
+
---
|
|
72
|
+
|
|
73
|
+
@bob:
|
|
74
|
+
|
|
75
|
+
Good catch. I'll fix it.
|
|
76
|
+
```
|
prfs-0.1.0/README.md
ADDED
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
# prfs
|
|
2
|
+
|
|
3
|
+
Pull Request File System. PR review comments as local files. Browse, filter, and script against GitHub PR review threads using familiar Unix tools.
|
|
4
|
+
|
|
5
|
+
## Installation
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
uv tool install prfs
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## How it works
|
|
12
|
+
|
|
13
|
+
`prfs fetch` pulls comments from a GitHub PR to `{repo}/.prfs/{pr_number}/{thread_id}.md`. One markdown file per thread with YAML frontmatter containing the file path and git patch.
|
|
14
|
+
|
|
15
|
+
## Quick start
|
|
16
|
+
|
|
17
|
+
```bash
|
|
18
|
+
gh auth login # gh is used under the hood
|
|
19
|
+
prfs fetch
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
## Features
|
|
23
|
+
|
|
24
|
+
- One file per review thread
|
|
25
|
+
- Works offline after initial fetch
|
|
26
|
+
- Natively integrates with `rg`, `vim`, etc.
|
|
27
|
+
|
|
28
|
+
## Format
|
|
29
|
+
|
|
30
|
+
Each thread file contains:
|
|
31
|
+
- `file`: path and line number (`src/utils.js:42`). This format is supported by Vim jumps with `gF`.
|
|
32
|
+
- `patch`: the git diff where the comment thread was attached to.
|
|
33
|
+
- Comments in markdown separated with `---`.
|
|
34
|
+
|
|
35
|
+
Example comment file (`.prfs/123/456.md`):
|
|
36
|
+
|
|
37
|
+
```markdown
|
|
38
|
+
---
|
|
39
|
+
file: src/utils.js:42
|
|
40
|
+
patch: |
|
|
41
|
+
diff --git a/src/utils.js b/src/utils.js
|
|
42
|
+
--- a/src/utils.js
|
|
43
|
+
+++ b/src/utils.js
|
|
44
|
+
@@ -40,7 +40,7 @@ function getUser() {
|
|
45
|
+
const db = connect();
|
|
46
|
+
- return db.query('users');
|
|
47
|
+
+ return await db.query('users');
|
|
48
|
+
}
|
|
49
|
+
---
|
|
50
|
+
|
|
51
|
+
@alice:
|
|
52
|
+
|
|
53
|
+
The return type should be `Promise<User>` not `User`.
|
|
54
|
+
|
|
55
|
+
---
|
|
56
|
+
|
|
57
|
+
@bob:
|
|
58
|
+
|
|
59
|
+
Good catch. I'll fix it.
|
|
60
|
+
```
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
[project]
|
|
2
|
+
name = "prfs"
|
|
3
|
+
dynamic = ["version"]
|
|
4
|
+
description = "Inline PR comments as local files"
|
|
5
|
+
license = "Apache-2.0"
|
|
6
|
+
readme = "README.md"
|
|
7
|
+
authors = [
|
|
8
|
+
{ name = "alexjuda", email = "alexanderjuda@gmail.com" }
|
|
9
|
+
]
|
|
10
|
+
requires-python = ">=3.13"
|
|
11
|
+
dependencies = [
|
|
12
|
+
"pyyaml",
|
|
13
|
+
]
|
|
14
|
+
classifiers = [
|
|
15
|
+
"Programming Language :: Python :: 3",
|
|
16
|
+
"Programming Language :: Python :: 3.13",
|
|
17
|
+
]
|
|
18
|
+
|
|
19
|
+
[project.urls]
|
|
20
|
+
Homepage = "https://github.com/alexjuda/prfs"
|
|
21
|
+
Repository = "https://github.com/alexjuda/prfs"
|
|
22
|
+
Issues = "https://github.com/alexjuda/prfs/issues"
|
|
23
|
+
|
|
24
|
+
[project.scripts]
|
|
25
|
+
prfs = "prfs.cli:main"
|
|
26
|
+
|
|
27
|
+
[tool.hatch.version]
|
|
28
|
+
source = "uv-dynamic-versioning"
|
|
29
|
+
|
|
30
|
+
[build-system]
|
|
31
|
+
requires = ["hatchling", "uv-dynamic-versioning"]
|
|
32
|
+
build-backend = "hatchling.build"
|
|
33
|
+
|
|
34
|
+
[dependency-groups]
|
|
35
|
+
dev = [
|
|
36
|
+
"pytest>=9.0.2",
|
|
37
|
+
"ruff>=0.15.6",
|
|
38
|
+
"ty>=0.0.23",
|
|
39
|
+
]
|
|
File without changes
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import json
|
|
2
|
+
import subprocess
|
|
3
|
+
import sys
|
|
4
|
+
from pathlib import Path
|
|
5
|
+
|
|
6
|
+
from prfs.github import GitHubClient
|
|
7
|
+
from prfs.thread import render_thread_to_markdown
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
def main():
|
|
11
|
+
if len(sys.argv) < 2:
|
|
12
|
+
print("Usage: prfs <command>")
|
|
13
|
+
sys.exit(1)
|
|
14
|
+
|
|
15
|
+
command = sys.argv[1]
|
|
16
|
+
|
|
17
|
+
if command == "fetch":
|
|
18
|
+
fetch(".")
|
|
19
|
+
else:
|
|
20
|
+
print(f"Unknown command: {command}")
|
|
21
|
+
sys.exit(1)
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
def get_current_branch(cwd: str | None = None) -> str:
|
|
25
|
+
result = subprocess.run(
|
|
26
|
+
["git", "rev-parse", "--abbrev-ref", "HEAD"],
|
|
27
|
+
capture_output=True,
|
|
28
|
+
text=True,
|
|
29
|
+
cwd=cwd,
|
|
30
|
+
)
|
|
31
|
+
return result.stdout.strip()
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
def find_pr_for_branch(
|
|
35
|
+
owner: str, repo: str, branch: str, cwd: str | None = None
|
|
36
|
+
) -> int | None:
|
|
37
|
+
result = subprocess.run(
|
|
38
|
+
["gh", "pr", "view", branch, "--repo", f"{owner}/{repo}", "--json", "number"],
|
|
39
|
+
capture_output=True,
|
|
40
|
+
text=True,
|
|
41
|
+
cwd=cwd,
|
|
42
|
+
)
|
|
43
|
+
if result.returncode != 0:
|
|
44
|
+
return None
|
|
45
|
+
|
|
46
|
+
data = json.loads(result.stdout)
|
|
47
|
+
return data.get("number")
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
def get_repo_info(cwd: str | None = None) -> tuple[str, str]:
|
|
51
|
+
result = subprocess.run(
|
|
52
|
+
["git", "remote", "get-url", "origin"],
|
|
53
|
+
capture_output=True,
|
|
54
|
+
text=True,
|
|
55
|
+
cwd=cwd,
|
|
56
|
+
)
|
|
57
|
+
url = result.stdout.strip()
|
|
58
|
+
if url.startswith("git@github.com:"):
|
|
59
|
+
path = url.replace("git@github.com:", "").replace(".git", "")
|
|
60
|
+
elif url.startswith("https://github.com/"):
|
|
61
|
+
path = url.replace("https://github.com/", "").replace(".git", "")
|
|
62
|
+
else:
|
|
63
|
+
raise ValueError(f"Unknown git remote format: {url}")
|
|
64
|
+
|
|
65
|
+
parts = path.split("/")
|
|
66
|
+
return parts[0], parts[1]
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
def fetch(repo_root: str):
|
|
70
|
+
repo_path = Path(repo_root).resolve()
|
|
71
|
+
if not (repo_path / ".git").exists():
|
|
72
|
+
raise SystemExit("Not a git repository")
|
|
73
|
+
|
|
74
|
+
branch = get_current_branch(cwd=str(repo_path))
|
|
75
|
+
owner, repo = get_repo_info(cwd=str(repo_path))
|
|
76
|
+
pr_number = find_pr_for_branch(owner, repo, branch, cwd=str(repo_path))
|
|
77
|
+
|
|
78
|
+
if pr_number is None:
|
|
79
|
+
raise SystemExit(f"No PR found for branch: {branch}")
|
|
80
|
+
|
|
81
|
+
client = GitHubClient(owner, repo)
|
|
82
|
+
threads = client.fetch_pr_review_comments(pr_number)
|
|
83
|
+
|
|
84
|
+
prfs_dir = repo_path / ".prfs" / str(pr_number)
|
|
85
|
+
prfs_dir.mkdir(parents=True, exist_ok=True)
|
|
86
|
+
|
|
87
|
+
for thread in threads:
|
|
88
|
+
thread_file = prfs_dir / f"{thread.id}.md"
|
|
89
|
+
content = render_thread_to_markdown(thread)
|
|
90
|
+
thread_file.write_text(content)
|
|
91
|
+
print(f"Written: {thread_file.relative_to(repo_path)}")
|
|
92
|
+
|
|
93
|
+
print(f"Fetched {len(threads)} threads for PR #{pr_number}")
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import subprocess
|
|
2
|
+
import json
|
|
3
|
+
from prfs.thread import Thread, ThreadComment
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class GitHubError(Exception):
|
|
7
|
+
pass
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class GitHubClient:
|
|
11
|
+
def __init__(self, owner: str, repo: str):
|
|
12
|
+
self.owner = owner
|
|
13
|
+
self.repo = repo
|
|
14
|
+
|
|
15
|
+
def get_pr_reviews(self, pr_number: int) -> list[dict]:
|
|
16
|
+
result = subprocess.run(
|
|
17
|
+
[
|
|
18
|
+
"gh",
|
|
19
|
+
"api",
|
|
20
|
+
f"repos/{self.owner}/{self.repo}/pulls/{pr_number}/reviews",
|
|
21
|
+
],
|
|
22
|
+
capture_output=True,
|
|
23
|
+
text=True,
|
|
24
|
+
)
|
|
25
|
+
if result.returncode != 0:
|
|
26
|
+
return []
|
|
27
|
+
return json.loads(result.stdout)
|
|
28
|
+
|
|
29
|
+
def get_pr_comments(self, pr_number: int) -> list[dict]:
|
|
30
|
+
cmd = [
|
|
31
|
+
"gh",
|
|
32
|
+
"api",
|
|
33
|
+
f"repos/{self.owner}/{self.repo}/pulls/{pr_number}/comments",
|
|
34
|
+
]
|
|
35
|
+
result = subprocess.run(
|
|
36
|
+
cmd,
|
|
37
|
+
capture_output=True,
|
|
38
|
+
text=True,
|
|
39
|
+
)
|
|
40
|
+
if result.returncode != 0:
|
|
41
|
+
raise GitHubError(
|
|
42
|
+
f"Couldn't fetch comments. Command {cmd} failed. {result.stderr}"
|
|
43
|
+
)
|
|
44
|
+
return json.loads(result.stdout)
|
|
45
|
+
|
|
46
|
+
def fetch_pr_review_comments(self, pr_number: int) -> list[Thread]:
|
|
47
|
+
comments = self.get_pr_comments(pr_number)
|
|
48
|
+
threads = {}
|
|
49
|
+
|
|
50
|
+
for comment in comments:
|
|
51
|
+
user = comment.get("user", {}).get("login")
|
|
52
|
+
path = comment.get("path")
|
|
53
|
+
line = comment.get("line") or comment.get("original_line")
|
|
54
|
+
diff_hunk = comment.get("diff_hunk")
|
|
55
|
+
body = comment.get("body")
|
|
56
|
+
|
|
57
|
+
thread_id = f"{path}:{line}"
|
|
58
|
+
if thread_id not in threads:
|
|
59
|
+
threads[thread_id] = Thread(
|
|
60
|
+
id=thread_id,
|
|
61
|
+
file_path=path,
|
|
62
|
+
line=line,
|
|
63
|
+
patch=diff_hunk,
|
|
64
|
+
comments=[],
|
|
65
|
+
)
|
|
66
|
+
threads[thread_id].comments.append(ThreadComment(author=user, body=body))
|
|
67
|
+
|
|
68
|
+
return list(threads.values())
|
|
File without changes
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
from dataclasses import dataclass
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
@dataclass
|
|
5
|
+
class ThreadComment:
|
|
6
|
+
author: str | None
|
|
7
|
+
body: str | None
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
@dataclass
|
|
11
|
+
class Thread:
|
|
12
|
+
id: str
|
|
13
|
+
file_path: str | None
|
|
14
|
+
line: int | None
|
|
15
|
+
patch: str | None
|
|
16
|
+
comments: list[ThreadComment]
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
def render_thread_to_markdown(thread: Thread) -> str:
|
|
20
|
+
frontmatter = f"""---
|
|
21
|
+
file: {thread.file_path}:{thread.line}
|
|
22
|
+
patch: |
|
|
23
|
+
{thread.patch}
|
|
24
|
+
---
|
|
25
|
+
"""
|
|
26
|
+
|
|
27
|
+
comments_md = ""
|
|
28
|
+
for comment in thread.comments:
|
|
29
|
+
comments_md += f"\n@{comment.author}:\n\n{comment.body}\n"
|
|
30
|
+
|
|
31
|
+
return frontmatter + comments_md
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import pytest
|
|
2
|
+
import tempfile
|
|
3
|
+
from pathlib import Path
|
|
4
|
+
from prfs.github import GitHubClient
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
@pytest.fixture
|
|
8
|
+
def temp_repo():
|
|
9
|
+
with tempfile.TemporaryDirectory() as tmpdir:
|
|
10
|
+
repo_path = Path(tmpdir)
|
|
11
|
+
(repo_path / ".git").mkdir()
|
|
12
|
+
yield repo_path
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
@pytest.fixture
|
|
16
|
+
def github_client():
|
|
17
|
+
return GitHubClient("owner", "repo")
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import pytest
|
|
2
|
+
from unittest.mock import patch, MagicMock
|
|
3
|
+
from pathlib import Path
|
|
4
|
+
import tempfile
|
|
5
|
+
from prfs.cli import fetch
|
|
6
|
+
from prfs.thread import Thread, ThreadComment
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
@pytest.fixture
|
|
10
|
+
def sample_thread():
|
|
11
|
+
return Thread(
|
|
12
|
+
id="abc123",
|
|
13
|
+
file_path="src/utils.js",
|
|
14
|
+
line=42,
|
|
15
|
+
patch="diff content",
|
|
16
|
+
comments=[ThreadComment(author="alice", body="Test comment")],
|
|
17
|
+
)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
@pytest.fixture
|
|
21
|
+
def sample_thread_no_comments():
|
|
22
|
+
return Thread(
|
|
23
|
+
id="abc123",
|
|
24
|
+
file_path="src/utils.js",
|
|
25
|
+
line=42,
|
|
26
|
+
patch="diff",
|
|
27
|
+
comments=[],
|
|
28
|
+
)
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
def mock_fetch(thread, pr_number=123, content="rendered content"):
|
|
32
|
+
mock_client = MagicMock()
|
|
33
|
+
mock_client.fetch_pr_review_comments.return_value = [thread]
|
|
34
|
+
return patch.multiple(
|
|
35
|
+
"prfs.cli",
|
|
36
|
+
get_repo_info=lambda cwd=None: ("owner", "repo"),
|
|
37
|
+
get_current_branch=lambda cwd=None: "feature-branch",
|
|
38
|
+
find_pr_for_branch=lambda owner, repo, branch, cwd=None: pr_number,
|
|
39
|
+
GitHubClient=lambda owner, repo: mock_client,
|
|
40
|
+
render_thread_to_markdown=lambda thread: content,
|
|
41
|
+
)
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
def mock_no_pr():
|
|
45
|
+
return patch.multiple(
|
|
46
|
+
"prfs.cli",
|
|
47
|
+
get_repo_info=lambda cwd=None: ("owner", "repo"),
|
|
48
|
+
get_current_branch=lambda cwd=None: "feature-branch",
|
|
49
|
+
find_pr_for_branch=lambda owner, repo, branch, cwd=None: None,
|
|
50
|
+
)
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
class TestFetch:
|
|
54
|
+
def test_writes_thread_content_to_file(self, sample_thread, temp_repo):
|
|
55
|
+
with mock_fetch(sample_thread):
|
|
56
|
+
fetch(str(temp_repo))
|
|
57
|
+
|
|
58
|
+
expected_file = temp_repo / ".prfs" / "123" / "abc123.md"
|
|
59
|
+
assert expected_file.exists()
|
|
60
|
+
|
|
61
|
+
def test_writes_correct_content(self, sample_thread, temp_repo):
|
|
62
|
+
with mock_fetch(sample_thread, content="rendered content"):
|
|
63
|
+
fetch(str(temp_repo))
|
|
64
|
+
|
|
65
|
+
expected_file = temp_repo / ".prfs" / "123" / "abc123.md"
|
|
66
|
+
assert expected_file.read_text() == "rendered content"
|
|
67
|
+
|
|
68
|
+
def test_raises_when_no_pr_found(self, temp_repo):
|
|
69
|
+
with mock_no_pr():
|
|
70
|
+
with pytest.raises(SystemExit, match="No PR found"):
|
|
71
|
+
fetch(str(temp_repo))
|
|
72
|
+
|
|
73
|
+
def test_raises_when_not_git_repo(self):
|
|
74
|
+
with tempfile.TemporaryDirectory() as tmpdir:
|
|
75
|
+
repo_path = Path(tmpdir)
|
|
76
|
+
with pytest.raises(SystemExit, match="Not a git repository"):
|
|
77
|
+
fetch(str(repo_path))
|
|
78
|
+
|
|
79
|
+
def test_creates_prfs_directory(self, sample_thread_no_comments, temp_repo):
|
|
80
|
+
with mock_fetch(sample_thread_no_comments, pr_number=456, content="content"):
|
|
81
|
+
fetch(str(temp_repo))
|
|
82
|
+
|
|
83
|
+
prfs_dir = temp_repo / ".prfs" / "456"
|
|
84
|
+
assert prfs_dir.exists()
|
|
85
|
+
assert prfs_dir.is_dir()
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
import pytest
|
|
2
|
+
from unittest.mock import patch
|
|
3
|
+
from prfs.github import GitHubClient
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
@pytest.fixture
|
|
7
|
+
def sample_review_comment():
|
|
8
|
+
return {
|
|
9
|
+
"body": "Test comment",
|
|
10
|
+
"user": {"login": "alice"},
|
|
11
|
+
"path": "src/utils.js",
|
|
12
|
+
"line": 42,
|
|
13
|
+
"original_line": 42,
|
|
14
|
+
"diff_hunk": "@@",
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
@pytest.fixture
|
|
19
|
+
def sample_review_comment_same_line():
|
|
20
|
+
return [
|
|
21
|
+
{
|
|
22
|
+
"body": "First",
|
|
23
|
+
"user": {"login": "alice"},
|
|
24
|
+
"path": "src/utils.js",
|
|
25
|
+
"line": 10,
|
|
26
|
+
"original_line": 10,
|
|
27
|
+
"diff_hunk": "@@",
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"body": "Second",
|
|
31
|
+
"user": {"login": "alice"},
|
|
32
|
+
"path": "src/utils.js",
|
|
33
|
+
"line": 10,
|
|
34
|
+
"original_line": 10,
|
|
35
|
+
"diff_hunk": "@@",
|
|
36
|
+
},
|
|
37
|
+
]
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
@pytest.fixture
|
|
41
|
+
def sample_review_comment_different_lines():
|
|
42
|
+
return [
|
|
43
|
+
{
|
|
44
|
+
"body": "Comment on line 10",
|
|
45
|
+
"user": {"login": "alice"},
|
|
46
|
+
"path": "src/utils.js",
|
|
47
|
+
"line": 10,
|
|
48
|
+
"original_line": 10,
|
|
49
|
+
"diff_hunk": "@@",
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"body": "Comment on line 20",
|
|
53
|
+
"user": {"login": "alice"},
|
|
54
|
+
"path": "src/utils.js",
|
|
55
|
+
"line": 20,
|
|
56
|
+
"original_line": 20,
|
|
57
|
+
"diff_hunk": "@@",
|
|
58
|
+
},
|
|
59
|
+
]
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
class TestGithubClient:
|
|
63
|
+
class TestFetchPRReviewComments:
|
|
64
|
+
@staticmethod
|
|
65
|
+
@patch.object(GitHubClient, "get_pr_comments")
|
|
66
|
+
def test_extracts_thread_properties(
|
|
67
|
+
mock_get_comments, sample_review_comment, github_client
|
|
68
|
+
):
|
|
69
|
+
mock_get_comments.return_value = [sample_review_comment]
|
|
70
|
+
result = list(github_client.fetch_pr_review_comments(123))
|
|
71
|
+
|
|
72
|
+
assert len(result) == 1
|
|
73
|
+
assert result[0].file_path == "src/utils.js"
|
|
74
|
+
assert result[0].line == 42
|
|
75
|
+
|
|
76
|
+
@staticmethod
|
|
77
|
+
@patch.object(GitHubClient, "get_pr_comments")
|
|
78
|
+
def test_extracts_comment_properties(
|
|
79
|
+
mock_get_comments, sample_review_comment, github_client
|
|
80
|
+
):
|
|
81
|
+
mock_get_comments.return_value = [sample_review_comment]
|
|
82
|
+
result = list(github_client.fetch_pr_review_comments(123))
|
|
83
|
+
|
|
84
|
+
assert len(result[0].comments) == 1
|
|
85
|
+
comment = result[0].comments[0]
|
|
86
|
+
assert comment.author == "alice"
|
|
87
|
+
assert "Test comment" in comment.body
|
|
88
|
+
|
|
89
|
+
@staticmethod
|
|
90
|
+
def test_returns_empty_for_pr_with_no_reviews(github_client):
|
|
91
|
+
with patch.object(github_client, "get_pr_comments", return_value=[]):
|
|
92
|
+
result = list(github_client.fetch_pr_review_comments(123))
|
|
93
|
+
assert result == []
|
|
94
|
+
|
|
95
|
+
@staticmethod
|
|
96
|
+
@patch.object(GitHubClient, "get_pr_comments")
|
|
97
|
+
def test_groups_comments_by_file_location(
|
|
98
|
+
mock_get_comments, sample_review_comment_same_line, github_client
|
|
99
|
+
):
|
|
100
|
+
mock_get_comments.return_value = sample_review_comment_same_line
|
|
101
|
+
result = list(github_client.fetch_pr_review_comments(123))
|
|
102
|
+
|
|
103
|
+
assert len(result) == 1
|
|
104
|
+
assert len(result[0].comments) == 2
|
|
105
|
+
|
|
106
|
+
@staticmethod
|
|
107
|
+
@patch.object(GitHubClient, "get_pr_comments")
|
|
108
|
+
def test_separates_comments_on_different_lines(
|
|
109
|
+
mock_get_comments,
|
|
110
|
+
sample_review_comment_different_lines,
|
|
111
|
+
github_client,
|
|
112
|
+
):
|
|
113
|
+
mock_get_comments.return_value = sample_review_comment_different_lines
|
|
114
|
+
result = list(github_client.fetch_pr_review_comments(123))
|
|
115
|
+
|
|
116
|
+
assert len(result) == 2
|
|
117
|
+
lines = {thread.line for thread in result}
|
|
118
|
+
assert lines == {10, 20}
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import pytest
|
|
2
|
+
from prfs.thread import render_thread_to_markdown, ThreadComment, Thread
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
@pytest.fixture
|
|
6
|
+
def sample_thread():
|
|
7
|
+
return Thread(
|
|
8
|
+
id="abc123",
|
|
9
|
+
file_path="src/utils.js",
|
|
10
|
+
line=42,
|
|
11
|
+
patch="diff content",
|
|
12
|
+
comments=[ThreadComment(author="alice", body="Test comment")],
|
|
13
|
+
)
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
@pytest.fixture
|
|
17
|
+
def sample_thread_with_patch():
|
|
18
|
+
return Thread(
|
|
19
|
+
id="abc123",
|
|
20
|
+
file_path="src/utils.js",
|
|
21
|
+
line=42,
|
|
22
|
+
patch=(
|
|
23
|
+
"""diff --git a/src/utils.js b/src/utils.js
|
|
24
|
+
--- a/src/utils.js
|
|
25
|
+
+++ b/src/utils.js
|
|
26
|
+
@@ -40,7 +40,7 @@ function getUser() {
|
|
27
|
+
const db = connect();
|
|
28
|
+
- return db.query('users');
|
|
29
|
+
+ return await db.query('users');
|
|
30
|
+
}"""
|
|
31
|
+
),
|
|
32
|
+
comments=[ThreadComment(author="alice", body="Test comment")],
|
|
33
|
+
)
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
@pytest.fixture
|
|
37
|
+
def sample_thread_multiple_comments():
|
|
38
|
+
return Thread(
|
|
39
|
+
id="abc123",
|
|
40
|
+
file_path="src/utils.js",
|
|
41
|
+
line=42,
|
|
42
|
+
patch="diff",
|
|
43
|
+
comments=[
|
|
44
|
+
ThreadComment(author="alice", body="First comment"),
|
|
45
|
+
ThreadComment(author="bob", body="Second comment"),
|
|
46
|
+
],
|
|
47
|
+
)
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
@pytest.fixture
|
|
51
|
+
def sample_thread_no_comments():
|
|
52
|
+
return Thread(
|
|
53
|
+
id="abc123",
|
|
54
|
+
file_path="src/utils.js",
|
|
55
|
+
line=42,
|
|
56
|
+
patch="diff",
|
|
57
|
+
comments=[],
|
|
58
|
+
)
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
class TestRenderThreadToMarkdown:
|
|
62
|
+
def test_produces_frontmatter_with_file_location(self, sample_thread):
|
|
63
|
+
result = render_thread_to_markdown(sample_thread)
|
|
64
|
+
|
|
65
|
+
assert result.startswith("---")
|
|
66
|
+
assert "file: src/utils.js:42" in result
|
|
67
|
+
|
|
68
|
+
def test_produces_frontmatter_with_patch(self, sample_thread_with_patch):
|
|
69
|
+
result = render_thread_to_markdown(sample_thread_with_patch)
|
|
70
|
+
|
|
71
|
+
assert "patch: |" in result
|
|
72
|
+
assert sample_thread_with_patch.patch in result
|
|
73
|
+
|
|
74
|
+
result_lines = result.splitlines()
|
|
75
|
+
patch_idx = result_lines.index("patch: |")
|
|
76
|
+
assert result_lines[patch_idx + 1].startswith(" "), "Patch should be indented"
|
|
77
|
+
|
|
78
|
+
def test_includes_comment_as_markdown_section(self, sample_thread):
|
|
79
|
+
result = render_thread_to_markdown(sample_thread)
|
|
80
|
+
|
|
81
|
+
assert "@alice" in result
|
|
82
|
+
assert "Test comment" in result
|
|
83
|
+
|
|
84
|
+
def test_renders_multiple_comments_as_separate_sections(
|
|
85
|
+
self, sample_thread_multiple_comments
|
|
86
|
+
):
|
|
87
|
+
result = render_thread_to_markdown(sample_thread_multiple_comments)
|
|
88
|
+
|
|
89
|
+
assert "@alice" in result
|
|
90
|
+
assert "@bob" in result
|
|
91
|
+
assert "First comment" in result
|
|
92
|
+
assert "Second comment" in result
|
|
93
|
+
|
|
94
|
+
def test_handles_thread_with_no_comments(self, sample_thread_no_comments):
|
|
95
|
+
result = render_thread_to_markdown(sample_thread_no_comments)
|
|
96
|
+
|
|
97
|
+
assert "file: src/utils.js:42" in result
|
prfs-0.1.0/uv.lock
ADDED
|
@@ -0,0 +1,173 @@
|
|
|
1
|
+
version = 1
|
|
2
|
+
revision = 3
|
|
3
|
+
requires-python = ">=3.13"
|
|
4
|
+
|
|
5
|
+
[[package]]
|
|
6
|
+
name = "colorama"
|
|
7
|
+
version = "0.4.6"
|
|
8
|
+
source = { registry = "https://pypi.org/simple" }
|
|
9
|
+
sdist = { url = "https://files.pythonhosted.org/packages/d8/53/6f443c9a4a8358a93a6792e2acffb9d9d5cb0a5cfd8802644b7b1c9a02e4/colorama-0.4.6.tar.gz", hash = "sha256:08695f5cb7ed6e0531a20572697297273c47b8cae5a63ffc6d6ed5c201be6e44", size = 27697, upload-time = "2022-10-25T02:36:22.414Z" }
|
|
10
|
+
wheels = [
|
|
11
|
+
{ url = "https://files.pythonhosted.org/packages/d1/d6/3965ed04c63042e047cb6a3e6ed1a63a35087b6a609aa3a15ed8ac56c221/colorama-0.4.6-py2.py3-none-any.whl", hash = "sha256:4f1d9991f5acc0ca119f9d443620b77f9d6b33703e51011c16baf57afb285fc6", size = 25335, upload-time = "2022-10-25T02:36:20.889Z" },
|
|
12
|
+
]
|
|
13
|
+
|
|
14
|
+
[[package]]
|
|
15
|
+
name = "iniconfig"
|
|
16
|
+
version = "2.3.0"
|
|
17
|
+
source = { registry = "https://pypi.org/simple" }
|
|
18
|
+
sdist = { url = "https://files.pythonhosted.org/packages/72/34/14ca021ce8e5dfedc35312d08ba8bf51fdd999c576889fc2c24cb97f4f10/iniconfig-2.3.0.tar.gz", hash = "sha256:c76315c77db068650d49c5b56314774a7804df16fee4402c1f19d6d15d8c4730", size = 20503, upload-time = "2025-10-18T21:55:43.219Z" }
|
|
19
|
+
wheels = [
|
|
20
|
+
{ url = "https://files.pythonhosted.org/packages/cb/b1/3846dd7f199d53cb17f49cba7e651e9ce294d8497c8c150530ed11865bb8/iniconfig-2.3.0-py3-none-any.whl", hash = "sha256:f631c04d2c48c52b84d0d0549c99ff3859c98df65b3101406327ecc7d53fbf12", size = 7484, upload-time = "2025-10-18T21:55:41.639Z" },
|
|
21
|
+
]
|
|
22
|
+
|
|
23
|
+
[[package]]
|
|
24
|
+
name = "packaging"
|
|
25
|
+
version = "26.0"
|
|
26
|
+
source = { registry = "https://pypi.org/simple" }
|
|
27
|
+
sdist = { url = "https://files.pythonhosted.org/packages/65/ee/299d360cdc32edc7d2cf530f3accf79c4fca01e96ffc950d8a52213bd8e4/packaging-26.0.tar.gz", hash = "sha256:00243ae351a257117b6a241061796684b084ed1c516a08c48a3f7e147a9d80b4", size = 143416, upload-time = "2026-01-21T20:50:39.064Z" }
|
|
28
|
+
wheels = [
|
|
29
|
+
{ url = "https://files.pythonhosted.org/packages/b7/b9/c538f279a4e237a006a2c98387d081e9eb060d203d8ed34467cc0f0b9b53/packaging-26.0-py3-none-any.whl", hash = "sha256:b36f1fef9334a5588b4166f8bcd26a14e521f2b55e6b9de3aaa80d3ff7a37529", size = 74366, upload-time = "2026-01-21T20:50:37.788Z" },
|
|
30
|
+
]
|
|
31
|
+
|
|
32
|
+
[[package]]
|
|
33
|
+
name = "pluggy"
|
|
34
|
+
version = "1.6.0"
|
|
35
|
+
source = { registry = "https://pypi.org/simple" }
|
|
36
|
+
sdist = { url = "https://files.pythonhosted.org/packages/f9/e2/3e91f31a7d2b083fe6ef3fa267035b518369d9511ffab804f839851d2779/pluggy-1.6.0.tar.gz", hash = "sha256:7dcc130b76258d33b90f61b658791dede3486c3e6bfb003ee5c9bfb396dd22f3", size = 69412, upload-time = "2025-05-15T12:30:07.975Z" }
|
|
37
|
+
wheels = [
|
|
38
|
+
{ url = "https://files.pythonhosted.org/packages/54/20/4d324d65cc6d9205fabedc306948156824eb9f0ee1633355a8f7ec5c66bf/pluggy-1.6.0-py3-none-any.whl", hash = "sha256:e920276dd6813095e9377c0bc5566d94c932c33b27a3e3945d8389c374dd4746", size = 20538, upload-time = "2025-05-15T12:30:06.134Z" },
|
|
39
|
+
]
|
|
40
|
+
|
|
41
|
+
[[package]]
|
|
42
|
+
name = "prfs"
|
|
43
|
+
source = { editable = "." }
|
|
44
|
+
dependencies = [
|
|
45
|
+
{ name = "pyyaml" },
|
|
46
|
+
]
|
|
47
|
+
|
|
48
|
+
[package.dev-dependencies]
|
|
49
|
+
dev = [
|
|
50
|
+
{ name = "pytest" },
|
|
51
|
+
{ name = "ruff" },
|
|
52
|
+
{ name = "ty" },
|
|
53
|
+
]
|
|
54
|
+
|
|
55
|
+
[package.metadata]
|
|
56
|
+
requires-dist = [{ name = "pyyaml" }]
|
|
57
|
+
|
|
58
|
+
[package.metadata.requires-dev]
|
|
59
|
+
dev = [
|
|
60
|
+
{ name = "pytest", specifier = ">=9.0.2" },
|
|
61
|
+
{ name = "ruff", specifier = ">=0.15.6" },
|
|
62
|
+
{ name = "ty", specifier = ">=0.0.23" },
|
|
63
|
+
]
|
|
64
|
+
|
|
65
|
+
[[package]]
|
|
66
|
+
name = "pygments"
|
|
67
|
+
version = "2.19.2"
|
|
68
|
+
source = { registry = "https://pypi.org/simple" }
|
|
69
|
+
sdist = { url = "https://files.pythonhosted.org/packages/b0/77/a5b8c569bf593b0140bde72ea885a803b82086995367bf2037de0159d924/pygments-2.19.2.tar.gz", hash = "sha256:636cb2477cec7f8952536970bc533bc43743542f70392ae026374600add5b887", size = 4968631, upload-time = "2025-06-21T13:39:12.283Z" }
|
|
70
|
+
wheels = [
|
|
71
|
+
{ url = "https://files.pythonhosted.org/packages/c7/21/705964c7812476f378728bdf590ca4b771ec72385c533964653c68e86bdc/pygments-2.19.2-py3-none-any.whl", hash = "sha256:86540386c03d588bb81d44bc3928634ff26449851e99741617ecb9037ee5ec0b", size = 1225217, upload-time = "2025-06-21T13:39:07.939Z" },
|
|
72
|
+
]
|
|
73
|
+
|
|
74
|
+
[[package]]
|
|
75
|
+
name = "pytest"
|
|
76
|
+
version = "9.0.2"
|
|
77
|
+
source = { registry = "https://pypi.org/simple" }
|
|
78
|
+
dependencies = [
|
|
79
|
+
{ name = "colorama", marker = "sys_platform == 'win32'" },
|
|
80
|
+
{ name = "iniconfig" },
|
|
81
|
+
{ name = "packaging" },
|
|
82
|
+
{ name = "pluggy" },
|
|
83
|
+
{ name = "pygments" },
|
|
84
|
+
]
|
|
85
|
+
sdist = { url = "https://files.pythonhosted.org/packages/d1/db/7ef3487e0fb0049ddb5ce41d3a49c235bf9ad299b6a25d5780a89f19230f/pytest-9.0.2.tar.gz", hash = "sha256:75186651a92bd89611d1d9fc20f0b4345fd827c41ccd5c299a868a05d70edf11", size = 1568901, upload-time = "2025-12-06T21:30:51.014Z" }
|
|
86
|
+
wheels = [
|
|
87
|
+
{ url = "https://files.pythonhosted.org/packages/3b/ab/b3226f0bd7cdcf710fbede2b3548584366da3b19b5021e74f5bde2a8fa3f/pytest-9.0.2-py3-none-any.whl", hash = "sha256:711ffd45bf766d5264d487b917733b453d917afd2b0ad65223959f59089f875b", size = 374801, upload-time = "2025-12-06T21:30:49.154Z" },
|
|
88
|
+
]
|
|
89
|
+
|
|
90
|
+
[[package]]
|
|
91
|
+
name = "pyyaml"
|
|
92
|
+
version = "6.0.3"
|
|
93
|
+
source = { registry = "https://pypi.org/simple" }
|
|
94
|
+
sdist = { url = "https://files.pythonhosted.org/packages/05/8e/961c0007c59b8dd7729d542c61a4d537767a59645b82a0b521206e1e25c2/pyyaml-6.0.3.tar.gz", hash = "sha256:d76623373421df22fb4cf8817020cbb7ef15c725b9d5e45f17e189bfc384190f", size = 130960, upload-time = "2025-09-25T21:33:16.546Z" }
|
|
95
|
+
wheels = [
|
|
96
|
+
{ url = "https://files.pythonhosted.org/packages/d1/11/0fd08f8192109f7169db964b5707a2f1e8b745d4e239b784a5a1dd80d1db/pyyaml-6.0.3-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:8da9669d359f02c0b91ccc01cac4a67f16afec0dac22c2ad09f46bee0697eba8", size = 181669, upload-time = "2025-09-25T21:32:23.673Z" },
|
|
97
|
+
{ url = "https://files.pythonhosted.org/packages/b1/16/95309993f1d3748cd644e02e38b75d50cbc0d9561d21f390a76242ce073f/pyyaml-6.0.3-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:2283a07e2c21a2aa78d9c4442724ec1eb15f5e42a723b99cb3d822d48f5f7ad1", size = 173252, upload-time = "2025-09-25T21:32:25.149Z" },
|
|
98
|
+
{ url = "https://files.pythonhosted.org/packages/50/31/b20f376d3f810b9b2371e72ef5adb33879b25edb7a6d072cb7ca0c486398/pyyaml-6.0.3-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:ee2922902c45ae8ccada2c5b501ab86c36525b883eff4255313a253a3160861c", size = 767081, upload-time = "2025-09-25T21:32:26.575Z" },
|
|
99
|
+
{ url = "https://files.pythonhosted.org/packages/49/1e/a55ca81e949270d5d4432fbbd19dfea5321eda7c41a849d443dc92fd1ff7/pyyaml-6.0.3-cp313-cp313-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:a33284e20b78bd4a18c8c2282d549d10bc8408a2a7ff57653c0cf0b9be0afce5", size = 841159, upload-time = "2025-09-25T21:32:27.727Z" },
|
|
100
|
+
{ url = "https://files.pythonhosted.org/packages/74/27/e5b8f34d02d9995b80abcef563ea1f8b56d20134d8f4e5e81733b1feceb2/pyyaml-6.0.3-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:0f29edc409a6392443abf94b9cf89ce99889a1dd5376d94316ae5145dfedd5d6", size = 801626, upload-time = "2025-09-25T21:32:28.878Z" },
|
|
101
|
+
{ url = "https://files.pythonhosted.org/packages/f9/11/ba845c23988798f40e52ba45f34849aa8a1f2d4af4b798588010792ebad6/pyyaml-6.0.3-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:f7057c9a337546edc7973c0d3ba84ddcdf0daa14533c2065749c9075001090e6", size = 753613, upload-time = "2025-09-25T21:32:30.178Z" },
|
|
102
|
+
{ url = "https://files.pythonhosted.org/packages/3d/e0/7966e1a7bfc0a45bf0a7fb6b98ea03fc9b8d84fa7f2229e9659680b69ee3/pyyaml-6.0.3-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:eda16858a3cab07b80edaf74336ece1f986ba330fdb8ee0d6c0d68fe82bc96be", size = 794115, upload-time = "2025-09-25T21:32:31.353Z" },
|
|
103
|
+
{ url = "https://files.pythonhosted.org/packages/de/94/980b50a6531b3019e45ddeada0626d45fa85cbe22300844a7983285bed3b/pyyaml-6.0.3-cp313-cp313-win32.whl", hash = "sha256:d0eae10f8159e8fdad514efdc92d74fd8d682c933a6dd088030f3834bc8e6b26", size = 137427, upload-time = "2025-09-25T21:32:32.58Z" },
|
|
104
|
+
{ url = "https://files.pythonhosted.org/packages/97/c9/39d5b874e8b28845e4ec2202b5da735d0199dbe5b8fb85f91398814a9a46/pyyaml-6.0.3-cp313-cp313-win_amd64.whl", hash = "sha256:79005a0d97d5ddabfeeea4cf676af11e647e41d81c9a7722a193022accdb6b7c", size = 154090, upload-time = "2025-09-25T21:32:33.659Z" },
|
|
105
|
+
{ url = "https://files.pythonhosted.org/packages/73/e8/2bdf3ca2090f68bb3d75b44da7bbc71843b19c9f2b9cb9b0f4ab7a5a4329/pyyaml-6.0.3-cp313-cp313-win_arm64.whl", hash = "sha256:5498cd1645aa724a7c71c8f378eb29ebe23da2fc0d7a08071d89469bf1d2defb", size = 140246, upload-time = "2025-09-25T21:32:34.663Z" },
|
|
106
|
+
{ url = "https://files.pythonhosted.org/packages/9d/8c/f4bd7f6465179953d3ac9bc44ac1a8a3e6122cf8ada906b4f96c60172d43/pyyaml-6.0.3-cp314-cp314-macosx_10_13_x86_64.whl", hash = "sha256:8d1fab6bb153a416f9aeb4b8763bc0f22a5586065f86f7664fc23339fc1c1fac", size = 181814, upload-time = "2025-09-25T21:32:35.712Z" },
|
|
107
|
+
{ url = "https://files.pythonhosted.org/packages/bd/9c/4d95bb87eb2063d20db7b60faa3840c1b18025517ae857371c4dd55a6b3a/pyyaml-6.0.3-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:34d5fcd24b8445fadc33f9cf348c1047101756fd760b4dacb5c3e99755703310", size = 173809, upload-time = "2025-09-25T21:32:36.789Z" },
|
|
108
|
+
{ url = "https://files.pythonhosted.org/packages/92/b5/47e807c2623074914e29dabd16cbbdd4bf5e9b2db9f8090fa64411fc5382/pyyaml-6.0.3-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:501a031947e3a9025ed4405a168e6ef5ae3126c59f90ce0cd6f2bfc477be31b7", size = 766454, upload-time = "2025-09-25T21:32:37.966Z" },
|
|
109
|
+
{ url = "https://files.pythonhosted.org/packages/02/9e/e5e9b168be58564121efb3de6859c452fccde0ab093d8438905899a3a483/pyyaml-6.0.3-cp314-cp314-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:b3bc83488de33889877a0f2543ade9f70c67d66d9ebb4ac959502e12de895788", size = 836355, upload-time = "2025-09-25T21:32:39.178Z" },
|
|
110
|
+
{ url = "https://files.pythonhosted.org/packages/88/f9/16491d7ed2a919954993e48aa941b200f38040928474c9e85ea9e64222c3/pyyaml-6.0.3-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:c458b6d084f9b935061bc36216e8a69a7e293a2f1e68bf956dcd9e6cbcd143f5", size = 794175, upload-time = "2025-09-25T21:32:40.865Z" },
|
|
111
|
+
{ url = "https://files.pythonhosted.org/packages/dd/3f/5989debef34dc6397317802b527dbbafb2b4760878a53d4166579111411e/pyyaml-6.0.3-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:7c6610def4f163542a622a73fb39f534f8c101d690126992300bf3207eab9764", size = 755228, upload-time = "2025-09-25T21:32:42.084Z" },
|
|
112
|
+
{ url = "https://files.pythonhosted.org/packages/d7/ce/af88a49043cd2e265be63d083fc75b27b6ed062f5f9fd6cdc223ad62f03e/pyyaml-6.0.3-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:5190d403f121660ce8d1d2c1bb2ef1bd05b5f68533fc5c2ea899bd15f4399b35", size = 789194, upload-time = "2025-09-25T21:32:43.362Z" },
|
|
113
|
+
{ url = "https://files.pythonhosted.org/packages/23/20/bb6982b26a40bb43951265ba29d4c246ef0ff59c9fdcdf0ed04e0687de4d/pyyaml-6.0.3-cp314-cp314-win_amd64.whl", hash = "sha256:4a2e8cebe2ff6ab7d1050ecd59c25d4c8bd7e6f400f5f82b96557ac0abafd0ac", size = 156429, upload-time = "2025-09-25T21:32:57.844Z" },
|
|
114
|
+
{ url = "https://files.pythonhosted.org/packages/f4/f4/a4541072bb9422c8a883ab55255f918fa378ecf083f5b85e87fc2b4eda1b/pyyaml-6.0.3-cp314-cp314-win_arm64.whl", hash = "sha256:93dda82c9c22deb0a405ea4dc5f2d0cda384168e466364dec6255b293923b2f3", size = 143912, upload-time = "2025-09-25T21:32:59.247Z" },
|
|
115
|
+
{ url = "https://files.pythonhosted.org/packages/7c/f9/07dd09ae774e4616edf6cda684ee78f97777bdd15847253637a6f052a62f/pyyaml-6.0.3-cp314-cp314t-macosx_10_13_x86_64.whl", hash = "sha256:02893d100e99e03eda1c8fd5c441d8c60103fd175728e23e431db1b589cf5ab3", size = 189108, upload-time = "2025-09-25T21:32:44.377Z" },
|
|
116
|
+
{ url = "https://files.pythonhosted.org/packages/4e/78/8d08c9fb7ce09ad8c38ad533c1191cf27f7ae1effe5bb9400a46d9437fcf/pyyaml-6.0.3-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:c1ff362665ae507275af2853520967820d9124984e0f7466736aea23d8611fba", size = 183641, upload-time = "2025-09-25T21:32:45.407Z" },
|
|
117
|
+
{ url = "https://files.pythonhosted.org/packages/7b/5b/3babb19104a46945cf816d047db2788bcaf8c94527a805610b0289a01c6b/pyyaml-6.0.3-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:6adc77889b628398debc7b65c073bcb99c4a0237b248cacaf3fe8a557563ef6c", size = 831901, upload-time = "2025-09-25T21:32:48.83Z" },
|
|
118
|
+
{ url = "https://files.pythonhosted.org/packages/8b/cc/dff0684d8dc44da4d22a13f35f073d558c268780ce3c6ba1b87055bb0b87/pyyaml-6.0.3-cp314-cp314t-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:a80cb027f6b349846a3bf6d73b5e95e782175e52f22108cfa17876aaeff93702", size = 861132, upload-time = "2025-09-25T21:32:50.149Z" },
|
|
119
|
+
{ url = "https://files.pythonhosted.org/packages/b1/5e/f77dc6b9036943e285ba76b49e118d9ea929885becb0a29ba8a7c75e29fe/pyyaml-6.0.3-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:00c4bdeba853cc34e7dd471f16b4114f4162dc03e6b7afcc2128711f0eca823c", size = 839261, upload-time = "2025-09-25T21:32:51.808Z" },
|
|
120
|
+
{ url = "https://files.pythonhosted.org/packages/ce/88/a9db1376aa2a228197c58b37302f284b5617f56a5d959fd1763fb1675ce6/pyyaml-6.0.3-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:66e1674c3ef6f541c35191caae2d429b967b99e02040f5ba928632d9a7f0f065", size = 805272, upload-time = "2025-09-25T21:32:52.941Z" },
|
|
121
|
+
{ url = "https://files.pythonhosted.org/packages/da/92/1446574745d74df0c92e6aa4a7b0b3130706a4142b2d1a5869f2eaa423c6/pyyaml-6.0.3-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:16249ee61e95f858e83976573de0f5b2893b3677ba71c9dd36b9cf8be9ac6d65", size = 829923, upload-time = "2025-09-25T21:32:54.537Z" },
|
|
122
|
+
{ url = "https://files.pythonhosted.org/packages/f0/7a/1c7270340330e575b92f397352af856a8c06f230aa3e76f86b39d01b416a/pyyaml-6.0.3-cp314-cp314t-win_amd64.whl", hash = "sha256:4ad1906908f2f5ae4e5a8ddfce73c320c2a1429ec52eafd27138b7f1cbe341c9", size = 174062, upload-time = "2025-09-25T21:32:55.767Z" },
|
|
123
|
+
{ url = "https://files.pythonhosted.org/packages/f1/12/de94a39c2ef588c7e6455cfbe7343d3b2dc9d6b6b2f40c4c6565744c873d/pyyaml-6.0.3-cp314-cp314t-win_arm64.whl", hash = "sha256:ebc55a14a21cb14062aa4162f906cd962b28e2e9ea38f9b4391244cd8de4ae0b", size = 149341, upload-time = "2025-09-25T21:32:56.828Z" },
|
|
124
|
+
]
|
|
125
|
+
|
|
126
|
+
[[package]]
|
|
127
|
+
name = "ruff"
|
|
128
|
+
version = "0.15.6"
|
|
129
|
+
source = { registry = "https://pypi.org/simple" }
|
|
130
|
+
sdist = { url = "https://files.pythonhosted.org/packages/51/df/f8629c19c5318601d3121e230f74cbee7a3732339c52b21daa2b82ef9c7d/ruff-0.15.6.tar.gz", hash = "sha256:8394c7bb153a4e3811a4ecdacd4a8e6a4fa8097028119160dffecdcdf9b56ae4", size = 4597916, upload-time = "2026-03-12T23:05:47.51Z" }
|
|
131
|
+
wheels = [
|
|
132
|
+
{ url = "https://files.pythonhosted.org/packages/9e/2f/4e03a7e5ce99b517e98d3b4951f411de2b0fa8348d39cf446671adcce9a2/ruff-0.15.6-py3-none-linux_armv6l.whl", hash = "sha256:7c98c3b16407b2cf3d0f2b80c80187384bc92c6774d85fefa913ecd941256fff", size = 10508953, upload-time = "2026-03-12T23:05:17.246Z" },
|
|
133
|
+
{ url = "https://files.pythonhosted.org/packages/70/60/55bcdc3e9f80bcf39edf0cd272da6fa511a3d94d5a0dd9e0adf76ceebdb4/ruff-0.15.6-py3-none-macosx_10_12_x86_64.whl", hash = "sha256:ee7dcfaad8b282a284df4aa6ddc2741b3f4a18b0555d626805555a820ea181c3", size = 10942257, upload-time = "2026-03-12T23:05:23.076Z" },
|
|
134
|
+
{ url = "https://files.pythonhosted.org/packages/e7/f9/005c29bd1726c0f492bfa215e95154cf480574140cb5f867c797c18c790b/ruff-0.15.6-py3-none-macosx_11_0_arm64.whl", hash = "sha256:3bd9967851a25f038fc8b9ae88a7fbd1b609f30349231dffaa37b6804923c4bb", size = 10322683, upload-time = "2026-03-12T23:05:33.738Z" },
|
|
135
|
+
{ url = "https://files.pythonhosted.org/packages/5f/74/2f861f5fd7cbb2146bddb5501450300ce41562da36d21868c69b7a828169/ruff-0.15.6-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:13f4594b04e42cd24a41da653886b04d2ff87adbf57497ed4f728b0e8a4866f8", size = 10660986, upload-time = "2026-03-12T23:05:53.245Z" },
|
|
136
|
+
{ url = "https://files.pythonhosted.org/packages/c1/a1/309f2364a424eccb763cdafc49df843c282609f47fe53aa83f38272389e0/ruff-0.15.6-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:e2ed8aea2f3fe57886d3f00ea5b8aae5bf68d5e195f487f037a955ff9fbaac9e", size = 10332177, upload-time = "2026-03-12T23:05:56.145Z" },
|
|
137
|
+
{ url = "https://files.pythonhosted.org/packages/30/41/7ebf1d32658b4bab20f8ac80972fb19cd4e2c6b78552be263a680edc55ac/ruff-0.15.6-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:70789d3e7830b848b548aae96766431c0dc01a6c78c13381f423bf7076c66d15", size = 11170783, upload-time = "2026-03-12T23:06:01.742Z" },
|
|
138
|
+
{ url = "https://files.pythonhosted.org/packages/76/be/6d488f6adca047df82cd62c304638bcb00821c36bd4881cfca221561fdfc/ruff-0.15.6-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:542aaf1de3154cea088ced5a819ce872611256ffe2498e750bbae5247a8114e9", size = 12044201, upload-time = "2026-03-12T23:05:28.697Z" },
|
|
139
|
+
{ url = "https://files.pythonhosted.org/packages/71/68/e6f125df4af7e6d0b498f8d373274794bc5156b324e8ab4bf5c1b4fc0ec7/ruff-0.15.6-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:1c22e6f02c16cfac3888aa636e9eba857254d15bbacc9906c9689fdecb1953ab", size = 11421561, upload-time = "2026-03-12T23:05:31.236Z" },
|
|
140
|
+
{ url = "https://files.pythonhosted.org/packages/f1/9f/f85ef5fd01a52e0b472b26dc1b4bd228b8f6f0435975442ffa4741278703/ruff-0.15.6-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:98893c4c0aadc8e448cfa315bd0cc343a5323d740fe5f28ef8a3f9e21b381f7e", size = 11310928, upload-time = "2026-03-12T23:05:45.288Z" },
|
|
141
|
+
{ url = "https://files.pythonhosted.org/packages/8c/26/b75f8c421f5654304b89471ed384ae8c7f42b4dff58fa6ce1626d7f2b59a/ruff-0.15.6-py3-none-manylinux_2_31_riscv64.whl", hash = "sha256:70d263770d234912374493e8cc1e7385c5d49376e41dfa51c5c3453169dc581c", size = 11235186, upload-time = "2026-03-12T23:05:50.677Z" },
|
|
142
|
+
{ url = "https://files.pythonhosted.org/packages/fc/d4/d5a6d065962ff7a68a86c9b4f5500f7d101a0792078de636526c0edd40da/ruff-0.15.6-py3-none-musllinux_1_2_aarch64.whl", hash = "sha256:55a1ad63c5a6e54b1f21b7514dfadc0c7fb40093fa22e95143cf3f64ebdcd512", size = 10635231, upload-time = "2026-03-12T23:05:37.044Z" },
|
|
143
|
+
{ url = "https://files.pythonhosted.org/packages/d6/56/7c3acf3d50910375349016cf33de24be021532042afbed87942858992491/ruff-0.15.6-py3-none-musllinux_1_2_armv7l.whl", hash = "sha256:8dc473ba093c5ec238bb1e7429ee676dca24643c471e11fbaa8a857925b061c0", size = 10340357, upload-time = "2026-03-12T23:06:04.748Z" },
|
|
144
|
+
{ url = "https://files.pythonhosted.org/packages/06/54/6faa39e9c1033ff6a3b6e76b5df536931cd30caf64988e112bbf91ef5ce5/ruff-0.15.6-py3-none-musllinux_1_2_i686.whl", hash = "sha256:85b042377c2a5561131767974617006f99f7e13c63c111b998f29fc1e58a4cfb", size = 10860583, upload-time = "2026-03-12T23:05:58.978Z" },
|
|
145
|
+
{ url = "https://files.pythonhosted.org/packages/cb/1e/509a201b843b4dfb0b32acdedf68d951d3377988cae43949ba4c4133a96a/ruff-0.15.6-py3-none-musllinux_1_2_x86_64.whl", hash = "sha256:cef49e30bc5a86a6a92098a7fbf6e467a234d90b63305d6f3ec01225a9d092e0", size = 11410976, upload-time = "2026-03-12T23:05:39.955Z" },
|
|
146
|
+
{ url = "https://files.pythonhosted.org/packages/6c/25/3fc9114abf979a41673ce877c08016f8e660ad6cf508c3957f537d2e9fa9/ruff-0.15.6-py3-none-win32.whl", hash = "sha256:bbf67d39832404812a2d23020dda68fee7f18ce15654e96fb1d3ad21a5fe436c", size = 10616872, upload-time = "2026-03-12T23:05:42.451Z" },
|
|
147
|
+
{ url = "https://files.pythonhosted.org/packages/89/7a/09ece68445ceac348df06e08bf75db72d0e8427765b96c9c0ffabc1be1d9/ruff-0.15.6-py3-none-win_amd64.whl", hash = "sha256:aee25bc84c2f1007ecb5037dff75cef00414fdf17c23f07dc13e577883dca406", size = 11787271, upload-time = "2026-03-12T23:05:20.168Z" },
|
|
148
|
+
{ url = "https://files.pythonhosted.org/packages/7f/d0/578c47dd68152ddddddf31cd7fc67dc30b7cdf639a86275fda821b0d9d98/ruff-0.15.6-py3-none-win_arm64.whl", hash = "sha256:c34de3dd0b0ba203be50ae70f5910b17188556630e2178fd7d79fc030eb0d837", size = 11060497, upload-time = "2026-03-12T23:05:25.968Z" },
|
|
149
|
+
]
|
|
150
|
+
|
|
151
|
+
[[package]]
|
|
152
|
+
name = "ty"
|
|
153
|
+
version = "0.0.23"
|
|
154
|
+
source = { registry = "https://pypi.org/simple" }
|
|
155
|
+
sdist = { url = "https://files.pythonhosted.org/packages/75/ba/d3c998ff4cf6b5d75b39356db55fe1b7caceecc522b9586174e6a5dee6f7/ty-0.0.23.tar.gz", hash = "sha256:5fb05db58f202af366f80ef70f806e48f5237807fe424ec787c9f289e3f3a4ef", size = 5341461, upload-time = "2026-03-13T12:34:23.125Z" }
|
|
156
|
+
wheels = [
|
|
157
|
+
{ url = "https://files.pythonhosted.org/packages/f4/21/aab32603dfdfacd4819e52fa8c6074e7bd578218a5142729452fc6a62db6/ty-0.0.23-py3-none-linux_armv6l.whl", hash = "sha256:e810eef1a5f1cfc0731a58af8d2f334906a96835829767aed00026f1334a8dd7", size = 10329096, upload-time = "2026-03-13T12:34:09.432Z" },
|
|
158
|
+
{ url = "https://files.pythonhosted.org/packages/9f/a9/dd3287a82dce3df546ec560296208d4905dcf06346b6e18c2f3c63523bd1/ty-0.0.23-py3-none-macosx_10_12_x86_64.whl", hash = "sha256:e43d36bd89a151ddcad01acaeff7dcc507cb73ff164c1878d2d11549d39a061c", size = 10156631, upload-time = "2026-03-13T12:34:53.122Z" },
|
|
159
|
+
{ url = "https://files.pythonhosted.org/packages/0f/01/3f25909b02fac29bb0a62b2251f8d62e65d697781ffa4cf6b47a4c075c85/ty-0.0.23-py3-none-macosx_11_0_arm64.whl", hash = "sha256:bd6a340969577b4645f231572c4e46012acba2d10d4c0c6570fe1ab74e76ae00", size = 9653211, upload-time = "2026-03-13T12:34:15.049Z" },
|
|
160
|
+
{ url = "https://files.pythonhosted.org/packages/d5/60/bfc0479572a6f4b90501c869635faf8d84c8c68ffc5dd87d04f049affabc/ty-0.0.23-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:341441783e626eeb7b1ec2160432956aed5734932ab2d1c26f94d0c98b229937", size = 10156143, upload-time = "2026-03-13T12:34:34.468Z" },
|
|
161
|
+
{ url = "https://files.pythonhosted.org/packages/3a/81/8a93e923535a340f54bea20ff196f6b2787782b2f2f399bd191c4bc132d6/ty-0.0.23-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:8ce1dc66c26d4167e2c78d12fa870ef5a7ec9cc344d2baaa6243297cfa88bd52", size = 10136632, upload-time = "2026-03-13T12:34:28.832Z" },
|
|
162
|
+
{ url = "https://files.pythonhosted.org/packages/da/cb/2ac81c850c58acc9f976814404d28389c9c1c939676e32287b9cff61381e/ty-0.0.23-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:bae1e7a294bf8528836f7617dc5c360ea2dddb63789fc9471ae6753534adca05", size = 10655025, upload-time = "2026-03-13T12:34:37.105Z" },
|
|
163
|
+
{ url = "https://files.pythonhosted.org/packages/b5/9b/bac771774c198c318ae699fc013d8cd99ed9caf993f661fba11238759244/ty-0.0.23-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:d2b162768764d9dc177c83fb497a51532bb67cbebe57b8fa0f2668436bf53f3c", size = 11230107, upload-time = "2026-03-13T12:34:20.751Z" },
|
|
164
|
+
{ url = "https://files.pythonhosted.org/packages/14/09/7644fb0e297265e18243f878aca343593323b9bb19ed5278dcbc63781be0/ty-0.0.23-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:d28384e48ca03b34e4e2beee0e230c39bbfb68994bb44927fec61ef3642900da", size = 10934177, upload-time = "2026-03-13T12:34:17.904Z" },
|
|
165
|
+
{ url = "https://files.pythonhosted.org/packages/18/14/69a25a0cad493fb6a947302471b579a03516a3b00e7bece77fdc6b4afb9b/ty-0.0.23-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:559d9a299df793cb7a7902caed5eda8a720ff69164c31c979673e928f02251ee", size = 10752487, upload-time = "2026-03-13T12:34:31.785Z" },
|
|
166
|
+
{ url = "https://files.pythonhosted.org/packages/9d/2a/42fc3cbccf95af0a62308ebed67e084798ab7a85ef073c9986ef18032743/ty-0.0.23-py3-none-musllinux_1_2_aarch64.whl", hash = "sha256:32a7b8a14a98e1d20a9d8d2af23637ed7efdb297ac1fa2450b8e465d05b94482", size = 10133007, upload-time = "2026-03-13T12:34:42.838Z" },
|
|
167
|
+
{ url = "https://files.pythonhosted.org/packages/e1/69/307833f1b52fa3670e0a1d496e43ef7df556ecde838192d3fcb9b35e360d/ty-0.0.23-py3-none-musllinux_1_2_armv7l.whl", hash = "sha256:6f803b9b9cca87af793467973b9abdd4b83e6b96d9b5e749d662cff7ead70b6d", size = 10169698, upload-time = "2026-03-13T12:34:12.351Z" },
|
|
168
|
+
{ url = "https://files.pythonhosted.org/packages/89/ae/5dd379ec22d0b1cba410d7af31c366fcedff191d5b867145913a64889f66/ty-0.0.23-py3-none-musllinux_1_2_i686.whl", hash = "sha256:4a0bf086ec8e2197b7ea7ebfcf4be36cb6a52b235f8be61647ef1b2d99d6ffd3", size = 10346080, upload-time = "2026-03-13T12:34:40.012Z" },
|
|
169
|
+
{ url = "https://files.pythonhosted.org/packages/98/c7/dfc83203d37998620bba9c4873a080c8850a784a8a46f56f8163c5b4e320/ty-0.0.23-py3-none-musllinux_1_2_x86_64.whl", hash = "sha256:252539c3fcd7aeb9b8d5c14e2040682c3e1d7ff640906d63fd2c4ce35865a4ba", size = 10848162, upload-time = "2026-03-13T12:34:45.421Z" },
|
|
170
|
+
{ url = "https://files.pythonhosted.org/packages/89/08/05481511cfbcc1fd834b6c67aaae090cb609a079189ddf2032139ccfc490/ty-0.0.23-py3-none-win32.whl", hash = "sha256:51b591d19eef23bbc3807aef77d38fa1f003c354e1da908aa80ea2dca0993f77", size = 9748283, upload-time = "2026-03-13T12:34:50.607Z" },
|
|
171
|
+
{ url = "https://files.pythonhosted.org/packages/31/2e/eaed4ff5c85e857a02415084c394e02c30476b65e158eec1938fdaa9a205/ty-0.0.23-py3-none-win_amd64.whl", hash = "sha256:1e137e955f05c501cfbb81dd2190c8fb7d01ec037c7e287024129c722a83c9ad", size = 10698355, upload-time = "2026-03-13T12:34:26.134Z" },
|
|
172
|
+
{ url = "https://files.pythonhosted.org/packages/91/29/b32cb7b4c7d56b9ed50117f8ad6e45834aec293e4cb14749daab4e9236d5/ty-0.0.23-py3-none-win_arm64.whl", hash = "sha256:a0399bd13fd2cd6683fd0a2d59b9355155d46546d8203e152c556ddbdeb20842", size = 10155890, upload-time = "2026-03-13T12:34:48.082Z" },
|
|
173
|
+
]
|