Skip to content

Bump mypy from 1.10.1 to 1.11.2 #50

Bump mypy from 1.10.1 to 1.11.2

Bump mypy from 1.10.1 to 1.11.2 #50

Workflow file for this run

name: Format code
on:
pull_request:
push:
branches:
- master
- release
concurrency:
group: ${{ github.workflow }}-${{ github.ref_name }}
cancel-in-progress: true
jobs:
format_backend:
name: Format with ruff
runs-on: [ self-hosted, small ]
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
with:
repository: ${{ github.event.pull_request.head.repo.full_name }}
ref: ${{ github.event.pull_request.head.ref }}
- uses: ./.github/workflows/actions/prepare
- run: poetry run ruff check --fix --unsafe-fixes --preview --exit-zero .
- run: poetry run ruff format .
- name: Commit changes
uses: EndBug/add-and-commit@v9
with:
fetch: false
default_author: github_actions
message: 'Backend: Auto format'
add: '.'