Skip to content

chore(deps): update dependency ruff to v0.9.1 #221

chore(deps): update dependency ruff to v0.9.1

chore(deps): update dependency ruff to v0.9.1 #221

Workflow file for this run

# SPDX-FileCopyrightText: 2024 Artemis UniPassau Utility Scripts Contributors
#
# SPDX-License-Identifier: EUPL-1.2
name: Lint
on: [push, pull_request]
jobs:
ci:
strategy:
fail-fast: false
matrix:
python-version: ["3.11", "3.12", "3.13"]
poetry-version: ["latest"]
os: ["ubuntu-latest"]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Setup Poetry
uses: abatilo/[email protected]
with:
poetry-version: ${{ matrix.poetry-version }}
- name: Install dependencies
run: poetry install
- name: Check imports with isort
run: poetry run isort --check-only src --profile black
- name: Check formatting with black
run: poetry run black --diff --check src
- name: Check typing with mypy
run: poetry run mypy src
- name: General linting with ruff
run: poetry run ruff check src
- name: Check reuse
run: poetry run reuse lint