Skip to content

Commit 6a65b74

Browse files
committed
Drop sphinx-autodoc-typehints as autodoc is good enough
1 parent 995349e commit 6a65b74

File tree

4 files changed

+1
-8
lines changed

4 files changed

+1
-8
lines changed

.builds/debian-testing.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ packages:
44
- python3-bluetooth
55
- python3-sphinx
66
- python3-sphinx-rtd-theme
7-
- python3-sphinx-autodoc-typehints
87
- python3-pytest
98
- python3-poetry
109
sources:

.builds/debian.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ packages:
77
- python3-bluetooth
88
- python3-sphinx
99
- python3-sphinx-rtd-theme
10-
- python3-sphinx-autodoc-typehints
1110
- python3-pytest
1211
- python3-poetry
1312
sources:

docs/conf.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@
3939
extensions = [
4040
"sphinx.ext.autodoc",
4141
"sphinx.ext.intersphinx",
42-
"sphinx_autodoc_typehints",
4342
]
4443

4544
intersphinx_mapping = {"python": ("https://docs.python.org/3", None)}
@@ -65,7 +64,4 @@
6564
# -- Options for autodoc -----------------------------------------------------
6665

6766
autodoc_member_order = "bysource"
68-
69-
# -- Options for autodoc typehints -------------------------------------------
70-
71-
typehints_fully_qualified = True
67+
autodoc_typehints = "description"

pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ flake8 = "^5.0.4"
4343
mypy = "^1.0.1"
4444
sphinx = "^5.3.0"
4545
sphinx-rtd-theme = "^1.2.0"
46-
sphinx-autodoc-typehints = "^1.12.0"
4746
tox = "^3.28.0"
4847

4948
[tool.poetry.group.nxt-screen.dependencies]

0 commit comments

Comments
 (0)