Skip to content

Commit 3e58aa8

Browse files
committed
known-first-party = pytest_rerunfailures
1 parent 168c264 commit 3e58aa8

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,9 @@ lint.select = [
6262
"UP", # https://pypi.org/project/upgrade-checker/
6363
]
6464

65+
[tool.ruff.lint.isort]
66+
known-first-party = ["pytest_rerunfailures"]
67+
6568
[tool.ruff.lint.per-file-ignores]
6669
"test_*.py" = ["S101", "S311"]
6770

tests/test_pytest_rerunfailures.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
from unittest import mock
44

55
import pytest
6+
67
from pytest_rerunfailures import HAS_PYTEST_HANDLECRASHITEM
78

89
pytest_plugins = "pytester"

0 commit comments

Comments
 (0)