collate now supports minimal dimension + added more support in samples cacher + added interface validation utility #1002
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 . |