Move back doctest instructions to setup.cfg (#22587)

This commit is contained in:
Sylvain Gugger
2023-04-05 07:53:19 -04:00
committed by GitHub
parent 861ff890d6
commit 6c640f098a
2 changed files with 5 additions and 2 deletions

View File

@@ -83,5 +83,6 @@ line-length = 119
lines-after-imports = 2
known-first-party = ["transformers"]
[tool.pytest]
doctest_optionflags="NUMBER NORMALIZE_WHITESPACE ELLIPSIS"
# 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"