Skip to content

adding torch_utils with select method similar to numpy #931

adding torch_utils with select method similar to numpy

adding torch_utils with select method similar to numpy #931

Workflow file for this run

name: Lint
on: [pull_request]
jobs:
black:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: psf/black@stable
with:
options: "--check --verbose --diff --color"
src: "."
version: "22.3.0"
flake8:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: "3.7"
- uses: py-actions/flake8@v2
with:
path: "."
mypy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: "3.7"
- run: pip install --upgrade pip
- run: pip install mypy==0.950
- run: python -m mypy . --show-error-codes
nb-clean:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: "3.7"
- run: pip install --upgrade pip
- run: pip install nb-clean
- run: nb-clean check .