Skip to content

Commit

Permalink
[autofix.ci] apply automated fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
autofix-ci[bot] authored Oct 11, 2024
1 parent 186251d commit 7ba921d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion pdoc/doc_ast.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
from collections.abc import Iterable
from collections.abc import Iterator
from dataclasses import dataclass
import inspect
from functools import cache
import inspect
from itertools import tee
from itertools import zip_longest
import types
Expand Down
3 changes: 1 addition & 2 deletions pdoc/doc_pyi.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@

from __future__ import annotations

import importlib.util
from functools import cache
import importlib.util
from pathlib import Path
import sys
import traceback
Expand All @@ -18,7 +18,6 @@

from pdoc import doc


overload_docstr = typing.overload(lambda: None).__doc__


Expand Down
3 changes: 1 addition & 2 deletions pdoc/docstrings.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,17 @@
from __future__ import annotations

import base64
from functools import cache
import inspect
import mimetypes
import os
from functools import cache
from pathlib import Path
import re
from textwrap import dedent
from textwrap import indent
import warnings



@cache
def convert(docstring: str, docformat: str, source_file: Path | None) -> str:
"""
Expand Down
2 changes: 1 addition & 1 deletion pdoc/render_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
from collections.abc import Iterable
from collections.abc import Mapping
from contextlib import contextmanager
from functools import cache
import html
import inspect
import os
import re
from functools import cache
from unittest.mock import patch
import warnings

Expand Down

0 comments on commit 7ba921d

Please sign in to comment.