Пример #1
0
def test_pep8():
    rc = main(argv=[])
    assert rc == 0, 'Found code style errors / warnings'
Пример #2
0
def test_pep8():
    rc = main(argv=['.', 'test'])
    assert rc == 0, 'Found code style errors / warnings'
Пример #3
0
def test_pep8():
    rc = main(argv=[])
    assert rc == 0, "Found code style errors / warnings"
Пример #4
0
def test_pep8():
    excluded = ['cpplint.py']
    rc = main(argv=['--exclude'] + excluded)
    assert rc == 0, 'Found code style errors / warnings'
Пример #5
0
def test_pep8():
    rc = main(argv=['ament_clang_format', 'test'])
    assert rc == 0, 'Found code style errors / warnings'
Пример #6
0
def test_pep8():
    rc = main(argv=['ament_tools', 'scripts', 'test'])
    assert rc == 0, 'Found code style errors / warnings'