Formatting.

This commit is contained in:
retoor 2025-04-09 15:21:23 +02:00
parent 44dd77cec5
commit 743593affe
5 changed files with 8 additions and 5 deletions

View File

@ -17,8 +17,8 @@ from aiohttp_session import (
setup as session_setup,
)
from aiohttp_session.cookie_storage import EncryptedCookieStorage
from app.app import Application as BaseApplication
from app.app import Application as BaseApplication
from snek.docs.app import Application as DocsApplication
from snek.mapper import get_mappers
from snek.service import get_services

View File

@ -1,8 +1,8 @@
import pathlib
from aiohttp import web
from app.app import Application as BaseApplication
from app.app import Application as BaseApplication
from snek.system.markdown import MarkdownExtension

View File

@ -32,9 +32,10 @@ from urllib.parse import urljoin
import aiohttp
import imgkit
from app.cache import time_cache_async
from bs4 import BeautifulSoup
from app.cache import time_cache_async
async def crc32(data):
try:

View File

@ -2,12 +2,13 @@
from types import SimpleNamespace
from app.cache import time_cache_async
from mistune import HTMLRenderer, Markdown
from pygments import highlight
from pygments.formatters import html
from pygments.lexers import get_lexer_by_name
from app.cache import time_cache_async
class MarkdownRenderer(HTMLRenderer):

View File

@ -12,9 +12,10 @@ import uuid
import aiofiles
import aiohttp
import aiohttp.web
from app.cache import time_cache_async
from lxml import etree
from app.cache import time_cache_async
@aiohttp.web.middleware
async def debug_middleware(request, handler):