Skip to content

Commit

Permalink
Fix pylint warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
analog-cbarber committed Jun 23, 2024
1 parent 01a6499 commit a80eb60
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
1 change: 0 additions & 1 deletion src/mkdocstrings_handlers/python_xref/crossref.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
from __future__ import annotations

import re
import sys
from typing import Callable, List, Optional, cast

from griffe.dataclasses import Docstring, Object
Expand Down
3 changes: 1 addition & 2 deletions tests/test_crossref.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,14 @@
from griffe.dataclasses import Class, Docstring, Function, Module, Object

# noinspection PyProtectedMember
import mkdocstrings_handlers.python_xref.crossref
from mkdocstrings_handlers.python_xref.crossref import (
_RE_CROSSREF,
_RE_REL_CROSSREF,
_RelativeCrossrefProcessor,
substitute_relative_crossrefs,
)

def test_RelativeCrossrefProcessor(caplog: pytest.LogCaptureFixture, monkeypatch: pytest.MonkeyPatch) -> None:
def test_RelativeCrossrefProcessor(caplog: pytest.LogCaptureFixture) -> None:
"""Unit test for internal _RelativeCrossrefProcessor class.
Arguments:
Expand Down
1 change: 0 additions & 1 deletion tests/test_integration.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
import os
import re
import subprocess as sp
import sys
from os import PathLike
from pathlib import Path
from typing import Dict, List, Tuple
Expand Down

0 comments on commit a80eb60

Please sign in to comment.