コード例 #1
0
ファイル: test_pep8.py プロジェクト: firesurfer/ament_index
def test_pep8():
    rc = main(argv=[])
    assert rc == 0, 'Found code style errors / warnings'
コード例 #2
0
ファイル: test_pep8.py プロジェクト: RameezI/examples
def test_pep8():
    rc = main(argv=['.', 'test'])
    assert rc == 0, 'Found code style errors / warnings'
コード例 #3
0
ファイル: test_pep8.py プロジェクト: shizhexu/launch
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
ファイル: test_pep8.py プロジェクト: dhood/ament_lint
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'