Put doctest options back to pyproject.toml (#27366)

fix

Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
This commit is contained in:
Yih-Dar
2023-11-09 11:50:19 +01:00
committed by GitHub
parent e9adb0c9cf
commit bc086a2516
2 changed files with 3 additions and 6 deletions

View File

@@ -18,6 +18,6 @@ line-length = 119
lines-after-imports = 2
known-first-party = ["transformers"]
# This is ignored, maybe because of the header? If someone finds a fix, we can uncomment and remove setup.cfg
# [tool.pytest]
# doctest_optionflags="NUMBER NORMALIZE_WHITESPACE ELLIPSIS"
[tool.pytest.ini_options]
doctest_optionflags="NUMBER NORMALIZE_WHITESPACE ELLIPSIS"
doctest_glob="**/*.md"