From 0490559479869490f81a21c9aa2dd452e94c0e38 Mon Sep 17 00:00:00 2001 From: Athroniaeth Date: Sat, 27 Jan 2024 21:38:44 +0100 Subject: [PATCH] Ruff format --- src/pytest_lock/fixtures/lock.py | 3 +-- src/pytest_lock/fixtures/reversed.py | 4 +--- src/pytest_lock/parser_file/json.py | 1 - 3 files changed, 2 insertions(+), 6 deletions(-) diff --git a/src/pytest_lock/fixtures/lock.py b/src/pytest_lock/fixtures/lock.py index 4d21329..1a0bbcb 100644 --- a/src/pytest_lock/fixtures/lock.py +++ b/src/pytest_lock/fixtures/lock.py @@ -2,10 +2,9 @@ import time from abc import ABC from datetime import datetime -from typing import Any, Callable, Optional, Tuple +from typing import Any, Callable, Optional, Tuple, override import pytest -from typing import override from pytest_lock.fixtures.base import FixtureBase from pytest_lock.models.cache.lock import Lock diff --git a/src/pytest_lock/fixtures/reversed.py b/src/pytest_lock/fixtures/reversed.py index 0cd46bf..7dcfd84 100644 --- a/src/pytest_lock/fixtures/reversed.py +++ b/src/pytest_lock/fixtures/reversed.py @@ -1,8 +1,6 @@ import warnings from abc import ABC -from typing import Any, Callable, Tuple - -from typing import override +from typing import Any, Callable, Tuple, override from pytest_lock.fixtures.base import FixtureBase diff --git a/src/pytest_lock/parser_file/json.py b/src/pytest_lock/parser_file/json.py index 2574f92..f28e906 100644 --- a/src/pytest_lock/parser_file/json.py +++ b/src/pytest_lock/parser_file/json.py @@ -1,6 +1,5 @@ import json from pathlib import Path - from typing import override from pytest_lock.models.cache.file import FileCache