Skip to content

Commit 4d8e67e

Browse files
authored
Merge pull request #438 from PetrDlouhy/fix_ruff_error
fix ruff error
2 parents 37045df + fd14b4e commit 4d8e67e

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

.readthedocs.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
version: 2
22

3+
sphinx:
4+
configuration: docs/conf.py
5+
36
build:
47
os: "ubuntu-20.04"
58
tools:

payments/models.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
11
from __future__ import annotations
22

3+
from typing import TYPE_CHECKING
4+
5+
if TYPE_CHECKING:
6+
from collections.abc import Iterable
7+
38
import json
49
import logging
5-
from collections.abc import Iterable
610
from uuid import uuid4
711

812
from django.db import models

0 commit comments

Comments
 (0)