Removed flake8, black and isort; moving towards ruff default settings instead.
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
import re
|
||||
|
||||
from textwrap import dedent
|
||||
|
||||
from html5tagger import HTML, Builder, E # type: ignore
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
from .page import Page
|
||||
from .renderer import PageRenderer
|
||||
|
||||
|
||||
__all__ = ["Page", "PageRenderer"]
|
||||
|
||||
@@ -3,7 +3,6 @@ from __future__ import annotations
|
||||
import importlib
|
||||
import inspect
|
||||
import pkgutil
|
||||
|
||||
from collections import defaultdict
|
||||
from dataclasses import dataclass, field
|
||||
from html import escape
|
||||
|
||||
@@ -11,7 +11,6 @@ from ..layouts.main import MainLayout
|
||||
from ..markdown import render_markdown
|
||||
from .docobject import organize_docobjects
|
||||
|
||||
|
||||
_PAGE_CACHE: dict[
|
||||
str, dict[str, tuple[Page | None, Page | None, Page | None]]
|
||||
] = {}
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
import re
|
||||
|
||||
|
||||
SLUGIFY_PATTERN = re.compile(r"[^a-zA-Z0-9-]")
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user