Skip to content

Commit

Permalink
Put doctest options back to pyproject.toml (huggingface#27366)
Browse files Browse the repository at this point in the history
fix

Co-authored-by: ydshieh <[email protected]>
  • Loading branch information
ydshieh and ydshieh authored Nov 9, 2023
1 parent e9adb0c commit bc086a2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
3 changes: 0 additions & 3 deletions setup.cfg

This file was deleted.

0 comments on commit bc086a2

Please sign in to comment.