コード例 #1
0
ファイル: test_pep257.py プロジェクト: ut0s/ament_lint
def test_pep257():
    excluded = ['ament_cpplint/cpplint.py']
    rc = main(argv=['--exclude'] + excluded)
    assert rc == 0, 'Found docblock style errors'
コード例 #2
0
def test_pep257():
    rc = main(argv=['ament_tools', 'scripts', 'test'])
    assert rc == 0, 'Found code style errors / warnings'
コード例 #3
0
ファイル: test_pep257.py プロジェクト: 5l1v3r1/examples-2
def test_pep257():
    # Test is called from package root
    rc = main(argv=['.'])
    assert rc == 0, 'Found code style errors / warnings'
コード例 #4
0
def test_pep257():
    rc = main(argv=['.', 'test'])
    assert rc == 0, 'Found code style errors / warnings'
コード例 #5
0
def test_pep257():
    rc = main(argv=['ament_clang_format', 'test'])
    assert rc == 0, 'Found docblock style errors'
コード例 #6
0
def test_pep257():
    rc = main(argv=[".", "test"])
    assert rc == 0, "Found code style errors / warnings"
コード例 #7
0
def test_pep257():
    rc = main(argv=[])
    assert rc == 0, 'Found docblock style errors'
コード例 #8
0
def test_pep257():
    rc = main(argv=['.', '--exclude', 'webots_ros2_core/math/quaternions.py'])
    assert rc == 0, 'Found code style errors / warnings'
コード例 #9
0
ファイル: test_pep257.py プロジェクト: ament/ament_lint
def test_pep257():
    rc = main(argv=[])
    assert rc == 0, 'Found docblock style errors'
コード例 #10
0
def test_pep257():
    rc = main(argv=['.', '--exclude', 'webots_ros2_importer/urdf2webots/'])
    assert rc == 0, 'Found code style errors / warnings'
コード例 #11
0
ファイル: test_pep257.py プロジェクト: ibvandersluis/bioslam
def test_pep257():
    assert main(argv=[]) == 0, 'Found code style errors / warnings'
コード例 #12
0
ファイル: test_pep257.py プロジェクト: tylerjw/ament_black
def test_pep257():
    rc = main(argv=["ament_clang_format", "test"])
    assert rc == 0, "Found docblock style errors"
コード例 #13
0
ファイル: test_pep257.py プロジェクト: esteve/examples
def test_pep257():
    rc = main(argv=['.'])
    assert rc == 0, 'Found code style errors / warnings'
コード例 #14
0
def test_pep257():
    rc = main(argv=[])
    assert rc == 0, 'Found errors'
コード例 #15
0
ファイル: test_pep257.py プロジェクト: xydesa/rqt_dotgraph
def test_pep257():
    """Run pep257 on the package."""
    return_code = main(argv=[".", "test"])
    assert return_code == 0, "Found code style errors / warnings"  # nosec