Skip to content

SENATOROV

SENATOROV #36

Workflow file for this run

name: "SENATOROV"
permissions:
contents: write # Grant write access to the repository contents
on:
push:
branches:
- "**"
schedule:
- cron: "0 0 * * *" # Run every day
workflow_dispatch:
create:
delete:
release:
issues:
jobs:
mypy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
allow-prereleases: true
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install "nbqa[toolchain]" mypy nbqa pandas-stubs git+https://github.com/numpy/numpy-stubs mypy-extensions types-requests types-PyYAML types-setuptools
- name: Mypy
run: |
nbqa mypy --exclude=^misc/ --ignore-missing-imports --explicit-package-bases --ignore-missing-imports --disallow-untyped-calls --disallow-untyped-defs --disallow-untyped-decorators --strict --extra-checks --disallow-any-decorated --disallow-any-generics --local-partial-types --pretty --force-uppercase-builtins --force-union-syntax --warn-unreachable --warn-redundant-casts --warn-return-any $(git ls-files '*.ipynb')