Skip to content

Commit 5ba086d

Browse files
committed
Update docs config.
1 parent 576b4fd commit 5ba086d

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

doc-source/conf.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,8 @@
114114

115115
add_module_names = False
116116
hide_none_rtype = True
117+
all_typevars = True
118+
overloads_location = "bottom"
117119

118120

119121
autodoc_exclude_members = [ # Exclude "standard" methods.

tests/test_utils.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -503,12 +503,12 @@ def deprecated_func(*args, **kwargs):
503503
return args, kwargs
504504

505505
deprecated_alias = deprecated(
506-
deprecated_in="1",
507-
removed_in="3",
508-
current_version="2",
509-
details="use 'bar' instead.",
510-
name="deprecated_alias",
511-
)(func)
506+
deprecated_in="1",
507+
removed_in="3",
508+
current_version="2",
509+
details="use 'bar' instead.",
510+
name="deprecated_alias",
511+
)(func) # yapf: disable
512512

513513
with pytest.warns(DeprecationWarning) as record:
514514
assert deprecated_func(1, a_list=["a", "b"]) == ((1, ), {"a_list": ["a", "b"]})

0 commit comments

Comments
 (0)