summaryrefslogtreecommitdiffstats
path: root/tests/roots/test-ext-napoleon/mypackage/typehints.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/roots/test-ext-napoleon/mypackage/typehints.py')
-rw-r--r--tests/roots/test-ext-napoleon/mypackage/typehints.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/roots/test-ext-napoleon/mypackage/typehints.py b/tests/roots/test-ext-napoleon/mypackage/typehints.py
new file mode 100644
index 0000000..526b78e
--- /dev/null
+++ b/tests/roots/test-ext-napoleon/mypackage/typehints.py
@@ -0,0 +1,11 @@
+def hello(x: int, *args: int, **kwargs: int) -> None:
+ """
+ Parameters
+ ----------
+ x
+ X
+ *args
+ Additional arguments.
+ **kwargs
+ Extra arguments.
+ """