File tree 4 files changed +14
-0
lines changed
4 files changed +14
-0
lines changed Original file line number Diff line number Diff line change
1
+ pytest now includes inline type annotations and exposes them to user programs.
2
+ Most of the user-facing API is covered, as well as internal code.
3
+
4
+ If you are running a type checker such as mypy on your tests, you may start
5
+ noticing type errors indicating incorrect usage. If you run into an error that
6
+ you believe to be incorrect, please let us know in an issue.
7
+
8
+ The types were developed against mypy version 0.780. Older versions may work,
9
+ but we recommend using at least this version. Other type checkers may work as
10
+ well, but they are not officially verified to work by pytest yet.
Original file line number Diff line number Diff line change @@ -59,6 +59,10 @@ setup_requires =
59
59
setuptools-scm
60
60
zip_safe = no
61
61
62
+ [options.package_data]
63
+ pytest = py.typed
64
+ _pytest = py.typed
65
+
62
66
[options.entry_points]
63
67
console_scripts =
64
68
pytest =pytest:console_main
You can’t perform that action at this time.
0 commit comments