Skip to content

Conversation

@cs2be
Copy link
Collaborator

@cs2be cs2be commented Jan 26, 2018

  • Add flake8 pre-commit hook (this will check python file for PEP8) compliance. Use "pip install flake8" to install locally
  • Execute pre-commit during travis-ci checkin
  • Update code to conform to coding standards
@jetfuel
Copy link
Collaborator

jetfuel commented Jan 26, 2018

@cs2be Need to update the branch

#include <algorithm>
#include <set>
#include <vector>
#include "visualdl/utils/logging.h"
Copy link
Contributor

Choose a reason for hiding this comment

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

this line should be moved to line22, together with other "".

same with other occasions.

Copy link
Collaborator

@jetfuel jetfuel left a comment

Choose a reason for hiding this comment

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

LGTM

@cs2be cs2be dismissed Superjomn’s stale review January 26, 2018 18:17

I've completed the change

@cs2be cs2be merged commit 642bfc4 into PaddlePaddle:develop Jan 26, 2018
@cs2be cs2be deleted the CPP_PYTHON_STYLE_CHECK branch January 26, 2018 18:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants