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 @@ -75,6 +75,10 @@ testing =
75
75
requests
76
76
xmlschema
77
77
78
+ [options.package_data]
79
+ _pytest = py.typed
80
+ pytest = py.typed
81
+
78
82
[build_sphinx]
79
83
source-dir = doc/en/
80
84
build-dir = doc/build
You can’t perform that action at this time.
0 commit comments