Skip to content

MetricCountSeqAndTokens counst tokens in label (if exist) + improving epoch metrics print #1021

MetricCountSeqAndTokens counst tokens in label (if exist) + improving epoch metrics print

MetricCountSeqAndTokens counst tokens in label (if exist) + improving epoch metrics print #1021

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.9"
- 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.9"
- 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.9"
- run: pip install --upgrade pip
- run: pip install nb-clean
- run: nb-clean check .