From 41ba07df5d85c11e198e0d7d292ad83b861856ba Mon Sep 17 00:00:00 2001 From: Nathan Dines Date: Sat, 27 Jan 2024 14:29:09 +1100 Subject: [PATCH] ruff output format for github --- .github/workflows/pr-tests.yml | 2 +- tests/stubs/calibre.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pr-tests.yml b/.github/workflows/pr-tests.yml index e8198d9..329ae07 100644 --- a/.github/workflows/pr-tests.yml +++ b/.github/workflows/pr-tests.yml @@ -13,6 +13,6 @@ jobs: - run: pip install poetry - run: poetry install - run: poetry run mypy . - - run: poetry run ruff check . + - run: poetry run ruff check --output-format=github . - run: poetry run ruff format --check . - run: poetry run pytest -v diff --git a/tests/stubs/calibre.py b/tests/stubs/calibre.py index 9cc5b62..e14b2e5 100644 --- a/tests/stubs/calibre.py +++ b/tests/stubs/calibre.py @@ -1,5 +1,5 @@ -from dataclasses import dataclass, field from typing import List, Optional, Union +from dataclasses import dataclass, field @dataclass