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

Remove trainer.fit return value [2/n] #7237

Merged
merged 21 commits into from
Apr 28, 2021
Merged

Remove trainer.fit return value [2/n] #7237

merged 21 commits into from
Apr 28, 2021

Conversation

carmocca
Copy link
Contributor

@carmocca carmocca commented Apr 27, 2021

What does this PR do?

See title.

Returning 1 is a legacy behavior. It does not serve any purpose as an exception would be raised if it failed.

Before submitting

  • Was this discussed/approved via a GitHub issue? (not for typos and docs)
  • Did you read the contributor guideline, Pull Request section?
  • Did you make sure your PR does only one thing, instead of bundling different changes together?
  • Did you make sure to update the documentation with your changes? (if necessary)
  • Did you write any new necessary tests? (not for typos and docs)
  • Did you verify new and existing tests pass locally with your changes?
  • Did you update the CHANGELOG? (not for typos, docs, test updates, or internal minor changes/refactorings)

PR review

  • Is this pull request ready for review? (if not, please submit in draft mode)
  • Check that all items from Before submitting are resolved
  • Make sure the title is self-explanatory and the description concisely explains the PR
  • Add labels and milestones (and optionally projects) to the PR so it can be classified

@codecov
Copy link

codecov bot commented Apr 27, 2021

Codecov Report

Merging #7237 (74b6a37) into master (bdc4272) will decrease coverage by 0%.
The diff coverage is 100%.

@@          Coverage Diff           @@
##           master   #7237   +/-   ##
======================================
- Coverage      91%     91%   -0%     
======================================
  Files         199     199           
  Lines       12797   12796    -1     
======================================
- Hits        11699   11698    -1     
  Misses       1098    1098           

@mergify mergify bot removed the has conflicts label Apr 28, 2021
@carmocca carmocca added the ready PRs ready to be merged label Apr 28, 2021
Copy link
Member

@Borda Borda left a comment

Choose a reason for hiding this comment

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

nice :]

@Borda Borda enabled auto-merge (squash) April 28, 2021 17:48
Copy link
Contributor

@tchaton tchaton left a comment

Choose a reason for hiding this comment

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

LGTM !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready PRs ready to be merged refactor
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants