Skip to content

Commit e4367df

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 0ffac7e commit e4367df

File tree

4 files changed

+4
-0
lines changed

4 files changed

+4
-0
lines changed

sphinx_external_toc/_compat.py

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Compatibility for using dataclasses instead of attrs."""
2+
23
from __future__ import annotations
34

45
import dataclasses as dc

sphinx_external_toc/api.py

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Defines the `SiteMap` object, for storing the parsed ToC."""
2+
23
from collections.abc import MutableMapping
34
from dataclasses import asdict, dataclass
45
from typing import Any, Dict, Iterator, List, Optional, Set, Union

sphinx_external_toc/events.py

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Sphinx event functions and directives."""
2+
23
import glob
34
from pathlib import Path, PurePosixPath
45
from typing import Any, List, Optional, Set

sphinx_external_toc/parsing.py

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Parse the ToC to a `SiteMap` object."""
2+
23
from collections.abc import Mapping
34
from dataclasses import dataclass, fields
45
from pathlib import Path

0 commit comments

Comments
 (0)