Skip to content

Commit

Permalink
Replace pep8+pyflakes with flake8 (#203)
Browse files Browse the repository at this point in the history
  • Loading branch information
dhood authored Feb 1, 2017
1 parent 422feda commit b8543a7
Showing 1 changed file with 3 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -288,9 +288,9 @@ if(BUILD_TESTING AND rosidl_generate_interfaces_ADD_LINTER_TESTS)
ROOT "${_cpplint_root}"
"${_output_path}")

find_package(ament_cmake_pep8 REQUIRED)
ament_pep8(
TESTNAME "pep8_rosidl_generated_py"
find_package(ament_cmake_flake8 REQUIRED)
ament_flake8(
TESTNAME "flake8_rosidl_generated_py"
# the generated code might contain longer lines for templated types
MAX_LINE_LENGTH 999
"${_output_path}")
Expand All @@ -300,11 +300,6 @@ if(BUILD_TESTING AND rosidl_generate_interfaces_ADD_LINTER_TESTS)
TESTNAME "pep257_rosidl_generated_py"
"${_output_path}")

find_package(ament_cmake_pyflakes REQUIRED)
ament_pyflakes(
TESTNAME "pyflakes_rosidl_generated_py"
"${_output_path}")

find_package(ament_cmake_uncrustify REQUIRED)
ament_uncrustify(
TESTNAME "uncrustify_rosidl_generated_py"
Expand Down

0 comments on commit b8543a7

Please sign in to comment.