- 
                Notifications
    
You must be signed in to change notification settings  - Fork 45.4k
 
Code style
        Jaeyoun Kim edited this page May 20, 2021 
        ·
        6 revisions
      
    Changes to Python code should conform to Google Python Style Guide
Use pylint to check your Python changes.
To install pylint and check a file
with pylint against TensorFlow's custom style definition:
Please use Pylint version 2.4.4. and the pylint configuration file available from TensorFlow.
pip install pylint==2.4.4
pylint --rcfile=pylintrc myfile.pyBe sure to run it before you push your commits.
Follow the guidance in the TensorFlow Style Guide - Conventions.
- 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.