Skip to content
This repository was archived by the owner on Dec 24, 2025. It is now read-only.

Commit 0a13fc8

Browse files
committed
better tooltips | exclude more core methods | modern annotations | add main branch to github action
1 parent b3a4594 commit 0a13fc8

File tree

3 files changed

+12
-4
lines changed

3 files changed

+12
-4
lines changed

.github/workflows/docs.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ name: docs
33
on:
44
push:
55
branches:
6+
- main
67
- v1
78
paths:
89
- 'LICENSE'

mkdocs.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ theme:
4343
- content.action.view
4444
- content.action.annotate
4545
- content.action.copy
46+
- content.tooltips
4647
- content.action.tooltips
4748
- content.code.annotate
4849
- content.code.copy
@@ -130,6 +131,15 @@ plugins:
130131
filters:
131132
- "!^_" # Exclude private members starting with only one underscore
132133
- "!before_update"
134+
- "!before_event"
135+
- "!clean"
136+
- "!did_mount"
137+
- "!init"
138+
- "!is_isolated"
139+
- "!update"
140+
- "!will_unmount"
141+
extensions:
142+
- griffe_modernized_annotations
133143
inventories:
134144
- url: https://docs.python.org/3/objects.inv
135145
domains: [ py, std ]

pyproject.toml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ docs = [
3333
"pymdown-extensions",
3434
"mkdocs-glightbox",
3535
"mkdocs-section-index",
36+
"griffe-modernized-annotations",
3637
"pygments>=2.16",
3738
]
3839

@@ -67,10 +68,6 @@ select = [
6768
# isort
6869
"I"
6970
]
70-
ignore = [
71-
# Pyflakes
72-
"F401", # unused import
73-
]
7471
preview = true
7572

7673
[tool.ruff.format]

0 commit comments

Comments
 (0)