Skip to content

Commit d1e15d4

Browse files
committed
chore: Template upgrade
1 parent 2782350 commit d1e15d4

File tree

18 files changed

+257
-305
lines changed

18 files changed

+257
-305
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.11.6
2+
_commit: 1.11.12
33
_src_path: gh:pawamoy/copier-uv
44
author_email: dev@pawamoy.fr
55
author_fullname: Timothée Mazzucotelli

CONTRIBUTING.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,7 @@ Run `make help` to see all the available actions!
2929
3030
## Tasks
3131
32-
The entry-point to run commands and tasks is the `make` Python script, located in the `scripts` directory. Try running `make` to show the available commands and tasks. The *commands* do not need the Python dependencies to be installed,
33-
while the *tasks* do. The cross-platform tasks are written in Python, thanks to [duty](https://github.com/pawamoy/duty).
32+
The entry-point to run commands and tasks is the `make` Python script, located in the `scripts` directory. Try running `make` to show the available commands and tasks. The *commands* do not need the Python dependencies to be installed, while the *tasks* do. The cross-platform tasks are written in Python, thanks to [duty](https://github.com/pawamoy/duty).
3433
3534
If you work in VSCode, we provide [an action to configure VSCode](https://pawamoy.github.io/copier-uv/work/#vscode-setup) for the project.
3635

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# griffe-pydantic
22

33
[![ci](https://github.com/mkdocstrings/griffe-pydantic/workflows/ci/badge.svg)](https://github.com/mkdocstrings/griffe-pydantic/actions?query=workflow%3Aci)
4-
[![documentation](https://img.shields.io/badge/docs-mkdocs-708FCC.svg?style=flat)](https://mkdocstrings.github.io/griffe-pydantic/)
4+
[![documentation](https://img.shields.io/badge/docs-zensical-FF9100.svg?style=flat)](https://mkdocstrings.github.io/griffe-pydantic/)
55
[![pypi version](https://img.shields.io/pypi/v/griffe-pydantic.svg)](https://pypi.org/project/griffe-pydantic/)
66
[![gitter](https://img.shields.io/badge/matrix-chat-4DB798.svg?style=flat)](https://app.gitter.im/#/room/#griffe-pydantic:gitter.im)
77

config/ruff.toml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
target-version = "py39"
1+
target-version = "py310"
22
line-length = 120
3+
output-format = "concise"
34

45
[lint]
56
exclude = [
@@ -18,12 +19,15 @@ ignore = [
1819
"EM101", # String literal when raising exception
1920
"EM102", # f-string when raising exception
2021
"ERA001", # Commented out code
22+
"FIX", # TODO, FIXME, etc.
2123
"G004", # Logging statement uses f-string
2224
"PLR0911", # Too many return statements
2325
"PLR0912", # Too many branches
2426
"PLR0913", # Too many arguments to function call
2527
"PLR0915", # Too many statements
2628
"SLF001", # Private member accessed
29+
"TD002", # Missing author in TODO
30+
"TD003", # Missing issue link for TODO
2731
"TRY003", # Avoid specifying long messages outside the exception class
2832
]
2933

config/ty.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
[src]
2+
exclude = ["tests/fixtures"]
3+
4+
[terminal]
5+
error-on-warning = true
6+
output-format = "concise"

config/vscode/launch.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,10 @@
2323
"name": "docs",
2424
"type": "debugpy",
2525
"request": "launch",
26-
"module": "mkdocs",
26+
"module": "zensical",
2727
"justMyCode": false,
2828
"args": [
2929
"serve",
30-
"-v"
3130
]
3231
},
3332
{

config/vscode/settings.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
"ruff.lint.args": [
1717
"--config=config/ruff.toml"
1818
],
19+
"ty.configurationFile": "config/ty.toml",
1920
"yaml.schemas": {
2021
"https://squidfunk.github.io/mkdocs-material/schema.json": "mkdocs.yml"
2122
},

docs/.overrides/partials/comments.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!-- Giscus -->
2-
<!-- https://squidfunk.github.io/mkdocs-material/setup/adding-a-comment-system/#giscus-integration -->
2+
<!-- https://zensical.org/docs/setup/comment-system/#giscus-integration -->
33
<div id="feedback" style="display: none;">
44
<h2 id="__comments">Feedback</h2>
55
<script src="https://giscus.app/client.js"

docs/.overrides/partials/path-item.html

Lines changed: 0 additions & 22 deletions
This file was deleted.

docs/css/apidocs.css

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
/* Mark external links as such. */
2+
a.external::after,
3+
a.autorefs-external::after {
4+
/* https://primer.style/octicons/arrow-up-right-24 */
5+
mask-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M18.25 15.5a.75.75 0 00.75-.75v-9a.75.75 0 00-.75-.75h-9a.75.75 0 000 1.5h7.19L6.22 16.72a.75.75 0 101.06 1.06L17.5 7.56v7.19c0 .414.336.75.75.75z"></path></svg>');
6+
-webkit-mask-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M18.25 15.5a.75.75 0 00.75-.75v-9a.75.75 0 00-.75-.75h-9a.75.75 0 000 1.5h7.19L6.22 16.72a.75.75 0 101.06 1.06L17.5 7.56v7.19c0 .414.336.75.75.75z"></path></svg>');
7+
content: ' ';
8+
9+
display: inline-block;
10+
vertical-align: middle;
11+
position: relative;
12+
13+
height: 1em;
14+
width: 1em;
15+
background-color: currentColor;
16+
}
17+
18+
a.external:hover::after,
19+
a.autorefs-external:hover::after {
20+
background-color: var(--md-accent-fg-color);
21+
}

0 commit comments

Comments
 (0)