diff --git a/pyproject.toml b/pyproject.toml index 40e37ffa..6518dccc 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -276,12 +276,27 @@ python = install_command = python -I -m pip install --upgrade --upgrade-strategy=eager {opts} {packages} deps = poetry + setuptools + mdformat-admon + mdformat-beautysh + mdformat-footnote + mdformat-frontmatter + mdformat-gfm + mdformat-gfm-alerts + mdformat-mkdocs + mdformat-shfmt + mdformat-simple-breaks + mdformat-tables + mdformat-toc + mdformat-web + mdformat-wikilink setenv = # Skip pre-commit checks that are not needed SKIP = file-contents-sorter commands_pre = python -m poetry install --sync commands = + !tests: mdformat --check --number --end-of-line keep . !tests: pre-commit run --all-files pytest -vv -k "not test_docs" --showlocals --cov --junitxml={tox_root}/.results_{envname}/results.xml --cov-report=term --cov-report=xml:{tox_root}/.coverage_{envname}.xml --cov-report=html:{tox_root}/.results_{envname}/html --self-contained-html --html={tox_root}/.results_{envname}/results.html