From 78ef2d0a377355d5e0a20e6eeb6c8333f3bdf17c Mon Sep 17 00:00:00 2001 From: Jamie Lennox Date: Wed, 28 Apr 2021 16:48:57 +0700 Subject: [PATCH] Restore py.typed file to enable types Without this type annotations aren't picked up. This should not have been deleted. https://www.python.org/dev/peps/pep-0561/#packaging-type-information Closes: #165 --- releasenotes/notes/Add-py.typed-file-5a5cae1041dd0859.yaml | 3 +++ requests_mock/py.typed | 0 2 files changed, 3 insertions(+) create mode 100644 releasenotes/notes/Add-py.typed-file-5a5cae1041dd0859.yaml create mode 100644 requests_mock/py.typed diff --git a/releasenotes/notes/Add-py.typed-file-5a5cae1041dd0859.yaml b/releasenotes/notes/Add-py.typed-file-5a5cae1041dd0859.yaml new file mode 100644 index 0000000..6b8bca0 --- /dev/null +++ b/releasenotes/notes/Add-py.typed-file-5a5cae1041dd0859.yaml @@ -0,0 +1,3 @@ +--- +fixes: + - A py.typed file is required to enable type annotations for the package. Add to pack for re-release. diff --git a/requests_mock/py.typed b/requests_mock/py.typed new file mode 100644 index 0000000..e69de29