Skip to content

chore(dev): update dependency ruff to v0.0.286 #377

chore(dev): update dependency ruff to v0.0.286

chore(dev): update dependency ruff to v0.0.286 #377

Workflow file for this run

name: lint
on:
push:
branches-ignore:
- renovate/**
- deepsource-fix-*
pull_request: {}
jobs:
ruff:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "3.11"
- uses: Trim21/setup-poetry@dist/v1
- uses: Trim21/install-poetry-project@dist/v1
- name: ruff
run: ruff check . --format=github
mypy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.11'
- uses: Trim21/setup-poetry@dist/v1
- uses: Trim21/install-poetry-project@dist/v1
- name: mypy
run: mypy ./
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.11'
- uses: Trim21/setup-poetry@dist/v1
- uses: Trim21/install-poetry-project@dist/v1
- uses: actions/cache@v3
with:
path: ~/.cache/pre-commit
key: precommit-2-${{ env.PY }}-${{ hashFiles('.pre-commit-config.yaml') }}
restore-keys: precommit-2-${{ env.PY }}-
- name: pre-commit
run: pre-commit run --all-files --show-diff-on-failure && pre-commit gc