Skip to content

Commit 0dc586a

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

File tree

3 files changed

+13
-5
lines changed

3 files changed

+13
-5
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
@@ -136,6 +137,15 @@ plugins:
136137
filters:
137138
- "!^_" # Exclude private members starting with only one underscore
138139
- "!before_update"
140+
- "!before_event"
141+
- "!clean"
142+
- "!did_mount"
143+
- "!init"
144+
- "!is_isolated"
145+
- "!update"
146+
- "!will_unmount"
147+
extensions:
148+
- griffe_modernized_annotations
139149
inventories:
140150
- url: https://docs.python.org/3/objects.inv
141151
domains: [ py, std ]

pyproject.toml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,12 @@ docs = [
3333
"pymdown-extensions",
3434
"mkdocs-glightbox",
3535
"mkdocs-section-index",
36+
"griffe-modernized-annotations",
3637
"pygments>=2.16",
3738
]
3839

3940
[tool.uv.sources]
40-
# flet = { git = "https://github.com/flet-dev/flet", subdirectory = "sdk/python/packages/flet", rev = "v1" }
41+
flet = { git = "https://github.com/flet-dev/flet", subdirectory = "sdk/python/packages/flet", rev = "v1" }
4142

4243
[build-system]
4344
requires = ["setuptools"]
@@ -64,10 +65,6 @@ select = [
6465
# isort
6566
"I"
6667
]
67-
ignore = [
68-
# Pyflakes
69-
"F401", # unused import
70-
]
7168
preview = true
7269

7370
[tool.ruff.format]

0 commit comments

Comments
 (0)