示例#1
0
def test_flake8():
    rc = main(argv=[
        '--linelength', '128', '--exclude',
        'webots_ros2_core/math/quaternions.py',
        'webots_ros2_core/webots_controller.py'
    ])
    assert rc == 0, 'Found errors'
def test_flake8():
    rc = main(argv=['--linelength', '128'])
    assert rc == 0, 'Found errors'
示例#3
0
def test_flake8():
    rc = main(argv=[])
    assert rc == 0, 'Found errors'
示例#4
0
def test_flake8():
    rc = main(argv=[
        '--linelength', '128', '--exclude', 'webots_ros2_importer/urdf2webots/'
    ])
    assert rc == 0, 'Found errors'
示例#5
0
def test_flake8():
    rc = main(argv=[])
    assert rc == 0, 'Found errors'
示例#6
0
def test_flake8():
    excluded = ['conf.py']
    rc = main(argv=['--exclude'] + excluded)
    assert rc == 0, 'Found errors'
示例#7
0
def test_flake8():
    rc = main(argv=[])
    assert rc == 0, "Found code style errors / warnings"
示例#8
0
def test_flake8():
    excluded = ['cmakelint.py']
    rc = main(argv=['--exclude'] + excluded)
    assert rc == 0, 'Found code style errors / warnings'
示例#9
0
def test_flake8():
    logging.getLogger('flake8').setLevel(logging.INFO)
    rc = main(argv=[])
    assert rc == 0, 'Found errors'
示例#10
0
def test_flake8():
    rc = main(argv=['ament_tools', 'scripts', 'test'])
    assert rc == 0, 'Found errors'
示例#11
0
def test_flake8():
    excluded = ['ament_cpplint/cpplint.py']
    rc = main(argv=['--exclude'] + excluded)
    assert rc == 0, 'Found code style errors / warnings'
示例#12
0
def test_flake8():
    rc = main(argv=[])
    assert rc == 0, 'Found code style errors / warnings'
示例#13
0
def test_flake8():
    # Test is called from package root
    rc = main(argv=['.'])
    assert rc == 0, 'Found errors'
示例#14
0
def test_flake8():
    rc = main(
        argv=['--exclude', './epuck_ros2/controller', '--linelength', '128'])
    assert rc == 0, 'Found errors'