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