diff --git a/.github/workflows/branch-name-check.yml b/.github/workflows/branch-name-check.yml index 00d1caf..f02ea69 100644 --- a/.github/workflows/branch-name-check.yml +++ b/.github/workflows/branch-name-check.yml @@ -11,7 +11,7 @@ jobs: check-branch-name: runs-on: ubuntu-latest steps: - - name: Check branch name for main + - name: Check branch name for main if: github.base_ref == 'main' run: | BRANCH_NAME="${{ github.head_ref }}" 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