Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
transformers
Commits
6c640f09
Unverified
Commit
6c640f09
authored
Apr 05, 2023
by
Sylvain Gugger
Committed by
GitHub
Apr 05, 2023
Browse files
Move back doctest instructions to setup.cfg (#22587)
parent
861ff890
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
pyproject.toml
pyproject.toml
+3
-2
setup.cfg
setup.cfg
+2
-0
No files found.
pyproject.toml
View file @
6c640f09
...
@@ -83,5 +83,6 @@ line-length = 119
...
@@ -83,5 +83,6 @@ line-length = 119
lines-after-imports
=
2
lines-after-imports
=
2
known-first-party
=
["transformers"]
known-first-party
=
["transformers"]
[tool.pytest]
# This is ignored, maybe because of the header? If someone finds a fix, we can uncomment and remove setup.cfg
doctest_optionflags
=
"NUMBER NORMALIZE_WHITESPACE ELLIPSIS"
# [tool.pytest]
# doctest_optionflags="NUMBER NORMALIZE_WHITESPACE ELLIPSIS"
setup.cfg
0 → 100644
View file @
6c640f09
[tool:pytest]
doctest_optionflags=NUMBER NORMALIZE_WHITESPACE ELLIPSIS
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment