Skip to content

Conversation

@joelthchao
Copy link
Contributor

@joelthchao joelthchao commented Aug 24, 2018

Summary

As suggest in pep-8, we should ignore W503 to allow breaking line before a binary operator and improve readability.

Related Issues

#10975

PR Overview

  • This PR requires new unit tests [y/n] (make sure tests are included)
  • This PR requires to update the documentation [y/n] (make sure the docs are up-to-date)
  • This PR is backwards compatible [y/n]
  • This PR changes the current API [y/n] (all API changes need to be approved by fchollet)

pytest.ini Outdated

pep8ignore=* E402 \
* E731 \
# W503 \
Copy link
Contributor

Choose a reason for hiding this comment

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

Should't it be * W503 \ instead of # W503 \ ?
Currently this line is interpreted as a comment.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sorry my bad. Fixed.

fchollet
fchollet previously approved these changes Aug 25, 2018
Copy link
Collaborator

@fchollet fchollet left a comment

Choose a reason for hiding this comment

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

That's reasonable, LGTM.

@fchollet
Copy link
Collaborator

Please resolve merge conflicts.

@joelthchao
Copy link
Contributor Author

Merge conflicts resolved. Suffer from unrelated error in unit test.

@fchollet fchollet merged commit ff87f16 into keras-team:master Aug 27, 2018
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.

4 participants