Skip to content

Commit

Permalink
remove mypy workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
santiagocasas committed Nov 23, 2023
1 parent f7609de commit 7ada581
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 20 deletions.
26 changes: 13 additions & 13 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@ jobs:
name: Lint
run: ruff check .

- python: "3.10"
task:
name: Type check
run: mypy .
#- python: "3.10"
# task:
# name: Type check
# run: mypy .

- python: "3.10"
task:
Expand Down Expand Up @@ -71,15 +71,15 @@ jobs:
python-version: ${{ matrix.python }}
cache-prefix: ${{ env.CACHE_PREFIX }}

- name: Restore mypy cache
if: matrix.task.name == 'Type check'
uses: actions/cache@v3
with:
path: .mypy_cache
key: mypy-${{ env.CACHE_PREFIX }}-${{ runner.os }}-${{ matrix.python }}-${{ hashFiles('*requirements.txt') }}-${{ github.ref }}-${{ github.sha }}
restore-keys: |
mypy-${{ env.CACHE_PREFIX }}-${{ runner.os }}-${{ matrix.python }}-${{ hashFiles('*requirements.txt') }}-${{ github.ref }}
mypy-${{ env.CACHE_PREFIX }}-${{ runner.os }}-${{ matrix.python }}-${{ hashFiles('*requirements.txt') }}
#- name: Restore mypy cache
# if: matrix.task.name == 'Type check'
# uses: actions/cache@v3
# with:
# path: .mypy_cache
# key: mypy-${{ env.CACHE_PREFIX }}-${{ runner.os }}-${{ matrix.python }}-${{ hashFiles('*requirements.txt') }}-${{ github.ref }}-${{ github.sha }}
# restore-keys: |
# mypy-${{ env.CACHE_PREFIX }}-${{ runner.os }}-${{ matrix.python }}-${{ hashFiles('*requirements.txt') }}-${{ github.ref }}
# mypy-${{ env.CACHE_PREFIX }}-${{ runner.os }}-${{ matrix.python }}-${{ hashFiles('*requirements.txt') }}

- name: ${{ matrix.task.name }}
run: |
Expand Down
14 changes: 7 additions & 7 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ build:
# post_create_environment:
# - python -m pip install sphinx_rtd_theme

python:
version: "3.10"
install:
- method: pip
path: .
extra_requirements:
- dev
#python:
# version: "3.10"
# install:
# - method: pip
# path: .
# extra_requirements:
# - dev

0 comments on commit 7ada581

Please sign in to comment.