Skip to content

build(deps-dev): bump mypy from 0.910 to 1.12.1 #358

build(deps-dev): bump mypy from 0.910 to 1.12.1

build(deps-dev): bump mypy from 0.910 to 1.12.1 #358

Workflow file for this run

name: wdldoc Lint
on:
push:
branches:
- master
pull_request:
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- name: Setup Python
uses: actions/setup-python@v1
with:
python-version: '3.x'
- name: Cache Dependencies
uses: actions/cache@v1
with:
path: ~/.cache/pypoetry/
key: ${{ runner.os }}-poetry-${{ hashFiles('poetry.lock') }}
restore-keys: |
${{ runner.os }}-poetry-
- name: Install Dependencies
run: |
python3 -m pip install --upgrade pip
python3 -m pip install setuptools
python3 -m pip install poetry
poetry config virtualenvs.create false
poetry install
- run: |
poetry run pylint wdldoc
poetry run mypy wdldoc --ignore-missing-imports
style:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: lgeiger/[email protected]
with:
args: "wdldoc --check"