1
0
mirror of https://github.com/venthur/blag.git synced 2025-11-25 20:52:43 +00:00

make linter happy

This commit is contained in:
Bastian Venthur
2025-07-18 11:58:35 +02:00
parent 3c617acfaf
commit f707f33fbc

View File

@@ -1,10 +1,19 @@
"""Benchmark for Blag."""
import os import os
from argparse import Namespace
import blag import blag
from blag.blag import build from blag.blag import build
def test_performance(args) -> None: def test_performance(args: Namespace) -> None:
"""Test performance.
This test checks how quickly blag can generate `FILES` amount of pages from
markdown.
"""
FILES = 1000 FILES = 1000
print(f"Generating {FILES} files") print(f"Generating {FILES} files")
# create random markdown files in the content directory # create random markdown files in the content directory