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:
@@ -1,10 +1,19 @@
|
||||
"""Benchmark for Blag."""
|
||||
|
||||
import os
|
||||
from argparse import Namespace
|
||||
|
||||
import blag
|
||||
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
|
||||
print(f"Generating {FILES} files")
|
||||
# create random markdown files in the content directory
|
||||
|
||||
Reference in New Issue
Block a user