From d1d605d54090f48ba340abfdf5bc9f2cf78dcc35 Mon Sep 17 00:00:00 2001 From: Eirikur Jonsson Date: Wed, 26 Nov 2025 14:25:28 +0000 Subject: [PATCH] installing requirements.txt if present locally --- azure/azure_style.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/azure/azure_style.yaml b/azure/azure_style.yaml index 2236365..4d3b737 100644 --- a/azure/azure_style.yaml +++ b/azure/azure_style.yaml @@ -174,6 +174,11 @@ jobs: pip install wheel pip install mypy + # Check if the local repo has a requirements.txt file and install it if present + if [[ -f "requirements.txt" ]]; then + pip install -r requirements.txt + fi + # Run mypy check (should pick up local config from mypy.ini or .mypy.ini if present) mypy