Skip to content

Commit

Permalink
chore: Debug failing pre-commit hook
Browse files Browse the repository at this point in the history
  • Loading branch information
nfelt14 committed Dec 19, 2024
1 parent 039a053 commit 35d0fd4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 35d0fd4

Please sign in to comment.