From f9ca94114dc1d4eef68efb406ba6948082687f4f Mon Sep 17 00:00:00 2001 From: Cian McGrath Date: Wed, 10 Apr 2024 13:32:19 +0100 Subject: [PATCH] repo: Install all mypy types Occasionally seeing some failures due to lookups of types, have the install script install them Change-Id: I3d8ca7639949408d629b78dbc13178cdc2e85850 --- install.sh | 1 + requirements-dev.txt | 1 + 2 files changed, 2 insertions(+) diff --git a/install.sh b/install.sh index 0491a6b5..b649c088 100755 --- a/install.sh +++ b/install.sh @@ -1,2 +1,3 @@ #!/bin/bash python3 -m pip install .[dev] +mypy --install-types --non-interactive diff --git a/requirements-dev.txt b/requirements-dev.txt index 6f24672a..d71f75c7 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -8,4 +8,5 @@ pyyaml==6.0.1 flake8==3.8.4 grpcio-tools==1.46.0 twine==4.0.1 +types-attrs>=19.1.0 wheel==0.38.4