Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert "Only add files with modification outside doc blocks" #23371

Merged
merged 1 commit into from
May 15, 2023

Conversation

ydshieh
Copy link
Collaborator

@ydshieh ydshieh commented May 15, 2023

Reverts #23327.

I apologize, but I read Sylvain's messge too quickly and got it completely wrong.

for now the tests are launched on a file if we modify it, but I would only launch it if docstrings are modified (e.g. check the modifications are correct) to go faster.

That merged PR did the converse instead: it adds a test file if only docstring (instead of only code) are modified.

I will need to create sth like diff_is_code_only.

@ydshieh ydshieh force-pushed the revert-23327-only_modified_doc_block branch from 7621c8f to a480dca Compare May 15, 2023 12:07
@ydshieh ydshieh requested a review from amyeroberts May 15, 2023 12:07
Copy link
Collaborator

@amyeroberts amyeroberts left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for fixing!

Apologies for not catching in the review either. In the nightly CI, have we run all of the doctests - or do we expect there to be any untested pieces of code between the merge of #23327 and this PR?

@ydshieh
Copy link
Collaborator Author

ydshieh commented May 15, 2023

Thanks for fixing!

Apologies for not catching in the review either. In the nightly CI, have we run all of the doctests - or do we expect there to be any untested pieces of code between the merge of #23327 and this PR?

On daily doctest CI, everything is tested :-) - there is no filtration, it just check all files in utils/documentation_tests.txt.

@HuggingFaceDocBuilderDev
Copy link

HuggingFaceDocBuilderDev commented May 15, 2023

The documentation is not available anymore as the PR was closed or merged.

@ydshieh ydshieh merged commit 569a97a into main May 15, 2023
@ydshieh ydshieh deleted the revert-23327-only_modified_doc_block branch May 15, 2023 12:28
sheonhan pushed a commit to sheonhan/transformers that referenced this pull request Jun 1, 2023
gojiteji pushed a commit to gojiteji/transformers that referenced this pull request Jun 5, 2023
novice03 pushed a commit to novice03/transformers that referenced this pull request Jun 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants