-
Notifications
You must be signed in to change notification settings - Fork 45.8k
Code style
Jaeyoun Kim edited this page May 18, 2021
·
6 revisions
Changes to Python code should conform to Google Python Style Guide
Use pylint
to check your Python changes.
Download a pylint configuration file
available from TensorFlow.
To install pylint
and check a file
with pylint
against TensorFlow's custom style definition:
pip install pylint
pylint --rcfile=pylint.rcfile myfile.py
- Google C++ Style Guide.
- Google Java Style Guide
- Google JavaScript Style Guide
- Google Shell Style Guide
- Google Objective-C Style Guide
Include a license at the top of new files.