From b73b0e6a2a9599238b0c7e7607cd3271117b60b8 Mon Sep 17 00:00:00 2001 From: Olivier Ramonat Date: Wed, 23 Oct 2024 12:21:00 +0200 Subject: [PATCH] Install distro on macOS when running mypy Add the dependency only in the `check` optional dependency list given that `distro` is not supported yet on macOS. --- pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/pyproject.toml b/pyproject.toml index f6390d1d..4dc5e597 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -71,6 +71,7 @@ check = [ "types-PyYAML", "types-requests", "types-setuptools", + "distro; sys_platform=='darwin'", # for type checking ] [project.scripts]