• Thomas Thrainer's avatar
    Enable pylint and PEP8 for test support code · bd39b6bb
    Thomas Thrainer authored
    The test support code is mainly written from scratch, so in order to
    ensure to keep the code quality high, enable pylint and PEP8 checks
    for it.
    
    Due to some specialities of the test code, a dedicate pylintrc-test file
    is created which configures pylint for test code.
    
    Those differences include:
     - lowercase functions are allowed if the first word is test, assert or
       main
     - lowercase methods are allowed if the first word(s) is test, assert,
       runTests, setUp or tearDown
     - R0201 (method could be a function) is disabled
    Signed-off-by: 's avatarThomas Thrainer <thomasth@google.com>
    Reviewed-by: 's avatarMichele Tartara <mtartara@google.com>
    bd39b6bb
pylintrc-test 2.86 KB