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 and mhils committed Oct 11, 2024
1 parent 27d75c2 commit 8f036f0
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 7 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
2 changes: 1 addition & 1 deletion pdoc/web.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@

from collections.abc import Iterable
from collections.abc import Iterator
from functools import cache
import http.server
import traceback
from functools import cache
from typing import Mapping
import warnings
import webbrowser
Expand Down

0 comments on commit 8f036f0

Please sign in to comment.