Skip to content

Commit

Permalink
Pin mypy < 1.7 (#8458)
Browse files Browse the repository at this point in the history
* Pin mypy < 1.7

* ALso 3.9

* restrict CI
  • Loading branch information
dcherian committed Nov 16, 2023
1 parent 72abfdf commit 22ca9ba
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci-additional.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ name: CI Additional
on:
push:
branches:
- "*"
- "main"
pull_request:
branches:
- "*"
- "main"
workflow_dispatch: # allows you to trigger manually

concurrency:
Expand Down Expand Up @@ -117,7 +117,7 @@ jobs:
python xarray/util/print_versions.py
- name: Install mypy
run: |
python -m pip install mypy --force-reinstall
python -m pip install "mypy<1.7" --force-reinstall
- name: Run mypy
run: |
Expand Down Expand Up @@ -171,7 +171,7 @@ jobs:
python xarray/util/print_versions.py
- name: Install mypy
run: |
python -m pip install mypy --force-reinstall
python -m pip install "mypy<1.7" --force-reinstall
- name: Run mypy
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ name: CI
on:
push:
branches:
- "*"
- "main"
pull_request:
branches:
- "*"
- "main"
workflow_dispatch: # allows you to trigger manually

concurrency:
Expand Down

0 comments on commit 22ca9ba

Please sign in to comment.