Removed flake8, black and isort; moving towards ruff default settings instead.

This commit is contained in:
L. Kärkkäinen
2023-10-25 04:12:24 +01:00
parent 469cb1663b
commit e4daf1ab21
197 changed files with 6 additions and 321 deletions

View File

@@ -1,5 +1,4 @@
import re
from textwrap import dedent
from html5tagger import HTML, Builder, E # type: ignore

View File

@@ -1,5 +1,4 @@
from .page import Page
from .renderer import PageRenderer
__all__ = ["Page", "PageRenderer"]

View File

@@ -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

View File

@@ -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]]
] = {}

View File

@@ -1,6 +1,5 @@
import re
SLUGIFY_PATTERN = re.compile(r"[^a-zA-Z0-9-]")