clean up pyproject to make valid toml

This commit is contained in:
Jonathan Wren 2022-08-15 16:15:09 -07:00
parent 7450102b14
commit 4d81b6fdf7

View file

@ -81,16 +81,14 @@ sort-check = [
{cmd = "isort --check ."},
]
docs-clean = {script = "tasks:delete_files(['sitemap.xml', 'config.json'])"}
docs-check = [
"docs-clean",
{script = "tasks:delete_files(['sitemap.xml', 'config.json'])"},
{script = "tasks:generate_sitemap"},
{script = "tasks:output_file('sitemap.xml')"},
{script = "tasks:generate_pa11y_config_from_sitemap"},
{script = "tasks:output_file('config.json')"},
{cmd = "pa11y-ci -c config.json"},
"docs-clean",
{script = "tasks:delete_files(['sitemap.xml', 'config.json'])"},
]
docs-run = [
{cmd = "mkdocs serve"},