Skip to content

Commit 9e58ef5

Browse files
Troubleshot mypy error "missing library stubs or py.typed marker"
1 parent ce642a1 commit 9e58ef5

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

README.rst

+11
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,17 @@ unicode type and it may not detect what you actually want.
3030
EACCES is converted to a 403 status code, and ENOENT is converted to a
3131
404. All other IOError types are converted to a 400.
3232

33+
Static Type Checking
34+
--------------------
35+
36+
mypy errors out *Skipping analyzing "requests_file": module is installed, but
37+
missing library stubs or py.typed marker [import-untyped]*. To resolve, run the
38+
following command to generate a requests_file.pyi in the current directory:
39+
40+
.. code-block:: bash
41+
42+
stubgen -o . -m requests_file
43+
3344
Contributing
3445
------------
3546

0 commit comments

Comments
 (0)