From 4e64ebd2172391dff5e3b4d6bcfd509071626993 Mon Sep 17 00:00:00 2001 From: "Jason R. Coombs" Date: Mon, 11 Dec 2023 10:24:49 -0500 Subject: [PATCH] =?UTF-8?q?=F0=9F=A7=8E=E2=80=8D=E2=99=80=EF=B8=8F=20Genuf?= =?UTF-8?q?lect=20to=20the=20types.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- recapturedocs/config.py | 7 ++++++- setup.cfg | 5 +++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/recapturedocs/config.py b/recapturedocs/config.py index a0181eb..8e1b8fc 100644 --- a/recapturedocs/config.py +++ b/recapturedocs/config.py @@ -8,7 +8,12 @@ appname = 'RecaptureDocs' -ensure_dir_exists = jaraco.functools.apply(lambda p: p.makedirs_p()) + +def _ensure_exists(p: Path) -> Path: + return p.makedirs_p() + + +ensure_dir_exists = jaraco.functools.apply(_ensure_exists) def get_log_file(): diff --git a/setup.cfg b/setup.cfg index c9910f9..8e4cb25 100644 --- a/setup.cfg +++ b/setup.cfg @@ -67,6 +67,11 @@ testing = fabric jaraco.fabric keyring + types-requests + types-boto + types-docutils + types-setuptools + types-mock docs = # upstream