Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Aug 26, 2024
1 parent 440f429 commit b16a6cc
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions sphinx_external_toc/_compat.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Compatibility for using dataclasses instead of attrs."""

from __future__ import annotations

import dataclasses as dc
Expand Down
1 change: 1 addition & 0 deletions sphinx_external_toc/api.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Defines the `SiteMap` object, for storing the parsed ToC."""

from collections.abc import MutableMapping
from dataclasses import asdict, dataclass
from typing import Any, Dict, Iterator, List, Optional, Set, Union
Expand Down
1 change: 1 addition & 0 deletions sphinx_external_toc/events.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Sphinx event functions and directives."""

import glob
from pathlib import Path, PurePosixPath
from typing import Any, List, Optional, Set
Expand Down
1 change: 1 addition & 0 deletions sphinx_external_toc/parsing.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Parse the ToC to a `SiteMap` object."""

from collections.abc import Mapping
from dataclasses import dataclass, fields
from pathlib import Path
Expand Down

0 comments on commit b16a6cc

Please sign in to comment.