Skip to content

Commit

Permalink
pyproject(pytest): Avoid locals, as they mask traceback and debug pri…
Browse files Browse the repository at this point in the history
…nting
  • Loading branch information
tony committed Feb 3, 2024
1 parent f5d74e9 commit 270f5a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ convention = "numpy"
"*/__init__.py" = ["F401"]

[tool.pytest.ini_options]
addopts = "--tb=short --no-header --showlocals --doctest-docutils-modules --reruns 2 -p no:doctest"
addopts = "--tb=short --no-header --doctest-docutils-modules --reruns 2 -p no:doctest"
doctest_optionflags = "ELLIPSIS NORMALIZE_WHITESPACE"
testpaths = [
"src/unihan_etl",
Expand Down

0 comments on commit 270f5a3

Please sign in to comment.