Exemplo n.º 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'
Exemplo n.º 2
0
def test_flake8():
    rc = main(argv=['--linelength', '128'])
    assert rc == 0, 'Found errors'
Exemplo n.º 3
0
def test_flake8():
    rc = main(argv=[])
    assert rc == 0, 'Found errors'
Exemplo n.º 4
0
def test_flake8():
    rc = main(argv=[
        '--linelength', '128', '--exclude', 'webots_ros2_importer/urdf2webots/'
    ])
    assert rc == 0, 'Found errors'
Exemplo n.º 5
0
def test_flake8():
    rc = main(argv=[])
    assert rc == 0, 'Found errors'
Exemplo n.º 6
0
def test_flake8():
    excluded = ['conf.py']
    rc = main(argv=['--exclude'] + excluded)
    assert rc == 0, 'Found errors'
Exemplo n.º 7
0
def test_flake8():
    rc = main(argv=[])
    assert rc == 0, "Found code style errors / warnings"
Exemplo n.º 8
0
def test_flake8():
    excluded = ['cmakelint.py']
    rc = main(argv=['--exclude'] + excluded)
    assert rc == 0, 'Found code style errors / warnings'
Exemplo n.º 9
0
def test_flake8():
    logging.getLogger('flake8').setLevel(logging.INFO)
    rc = main(argv=[])
    assert rc == 0, 'Found errors'
Exemplo n.º 10
0
def test_flake8():
    rc = main(argv=['ament_tools', 'scripts', 'test'])
    assert rc == 0, 'Found errors'
Exemplo n.º 11
0
def test_flake8():
    excluded = ['ament_cpplint/cpplint.py']
    rc = main(argv=['--exclude'] + excluded)
    assert rc == 0, 'Found code style errors / warnings'
Exemplo n.º 12
0
def test_flake8():
    rc = main(argv=[])
    assert rc == 0, 'Found code style errors / warnings'
Exemplo n.º 13
0
def test_flake8():
    # Test is called from package root
    rc = main(argv=['.'])
    assert rc == 0, 'Found errors'
Exemplo n.º 14
0
def test_flake8():
    rc = main(
        argv=['--exclude', './epuck_ros2/controller', '--linelength', '128'])
    assert rc == 0, 'Found errors'