Skip to content

Commit a80eb60

Browse files
Fix pylint warnings
1 parent 01a6499 commit a80eb60

File tree

3 files changed

+1
-4
lines changed

3 files changed

+1
-4
lines changed

src/mkdocstrings_handlers/python_xref/crossref.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
from __future__ import annotations
1717

1818
import re
19-
import sys
2019
from typing import Callable, List, Optional, cast
2120

2221
from griffe.dataclasses import Docstring, Object

tests/test_crossref.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,14 @@
2525
from griffe.dataclasses import Class, Docstring, Function, Module, Object
2626

2727
# noinspection PyProtectedMember
28-
import mkdocstrings_handlers.python_xref.crossref
2928
from mkdocstrings_handlers.python_xref.crossref import (
3029
_RE_CROSSREF,
3130
_RE_REL_CROSSREF,
3231
_RelativeCrossrefProcessor,
3332
substitute_relative_crossrefs,
3433
)
3534

36-
def test_RelativeCrossrefProcessor(caplog: pytest.LogCaptureFixture, monkeypatch: pytest.MonkeyPatch) -> None:
35+
def test_RelativeCrossrefProcessor(caplog: pytest.LogCaptureFixture) -> None:
3736
"""Unit test for internal _RelativeCrossrefProcessor class.
3837
3938
Arguments:

tests/test_integration.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
import os
1717
import re
1818
import subprocess as sp
19-
import sys
2019
from os import PathLike
2120
from pathlib import Path
2221
from typing import Dict, List, Tuple

0 commit comments

Comments
 (0)