Skip to content

Commit

Permalink
Ignore when not all routes produce a page on build
Browse files Browse the repository at this point in the history
  • Loading branch information
Siecje committed Feb 2, 2024
1 parent de32b13 commit 6f9a137
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions htmd/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
import importlib
from pathlib import Path
import sys
import warnings

import click
from flask import Flask
Expand All @@ -16,9 +17,7 @@
)


if not sys.warnoptions:
import warnings
warnings.simplefilter('ignore')
warnings.filterwarnings('ignore', '.*Nothing frozen for endpoints.*')


@click.group()
Expand Down

0 comments on commit 6f9a137

Please sign in to comment.