diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index eae06e5..16bcdfb 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -83,7 +83,7 @@ repos: rev: e20b1ac5acb8aba0b49d3a9109c6e6b58684ee83 # frozen: 0.7.21 hooks: - id: mdformat - args: [--number, --end-of-line, keep] + args: [--number, --end-of-line, keep, --check] additional_dependencies: - setuptools # This is required since Python 3.12 no longer installs setuptools by default in virtual environments - mdformat-admon diff --git a/pyproject.toml b/pyproject.toml index d901398..ff5d3f1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -295,7 +295,7 @@ setenv = commands_pre = python -m poetry install --sync commands = - !tests: mdformat --exclude **/.tox/** --check --number --end-of-line keep . +# !tests: mdformat --exclude **/.tox/** --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