Skip to content

bump: v5.0.0

bump: v5.0.0 #1985

Workflow file for this run

name: lint
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
mypy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.10'
- uses: Trim21/setup-poetry@dist/v1
- uses: Trim21/install-poetry-project@dist/v1
- uses: liskin/gh-problem-matcher-wrap@v2
with:
action: add
linters: mypy
- name: mypy
run: mypy --show-column-numbers transmission_rpc
ruff:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.10'
- uses: Trim21/setup-poetry@dist/v1
- uses: Trim21/install-poetry-project@dist/v1
- run: ruff check . --format=github
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.10'
- uses: trim21/setup-poetry@dist/v1
- uses: trim21/install-poetry-project@dist/v1
- uses: trim21/actions/pre-commit@master