Skip to content

Commit 706b544

Browse files
committed
chore: Template upgrade
1 parent 6133b2a commit 706b544

File tree

3 files changed

+20
-2
lines changed

3 files changed

+20
-2
lines changed

.copier-answers.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Changes here will be overwritten by Copier.
2-
_commit: 1.8.9
2+
_commit: 1.9.0
33
_src_path: gh:pawamoy/copier-uv
44
author_email: [email protected]
55
author_fullname: Timothée Mazzucotelli

.github/pull_request_template.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
### For reviewers
2+
<!-- Help reviewers by letting them know whether AI was used to create this PR. -->
3+
4+
- [ ] I did not use AI
5+
- [ ] I used AI and thorougly reviewed every code/docs change
6+
7+
### Description of the change
8+
<!-- Quick sentence for small changes, longer description for more impacting changes. -->
9+
10+
11+
### Relevant resources
12+
<!-- Link to any relevant GitHub issue, PR or discussion, section in online docs, etc. -->
13+
14+
-
15+
-
16+
-

tests/test_api.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,9 @@ def test_api_matches_inventory(inventory: Inventory, public_objects: list[griffe
137137
"""All public objects are added to the inventory."""
138138
ignore_names = {"__getattr__", "__init__", "__repr__", "__str__", "__post_init__"}
139139
not_in_inventory = [
140-
obj.path for obj in public_objects if obj.name not in ignore_names and obj.path not in inventory
140+
f"{obj.relative_filepath}:{obj.lineno}: {obj.path}"
141+
for obj in public_objects
142+
if obj.name not in ignore_names and obj.path not in inventory
141143
]
142144
msg = "Objects not in the inventory (try running `make run mkdocs build`):\n{paths}"
143145
assert not not_in_inventory, msg.format(paths="\n".join(sorted(not_in_inventory)))

0 commit comments

Comments
 (0)