diff --git a/colcon_cmake/task/cmake/build.py b/colcon_cmake/task/cmake/build.py index a827038..aa8ffba 100644 --- a/colcon_cmake/task/cmake/build.py +++ b/colcon_cmake/task/cmake/build.py @@ -64,10 +64,10 @@ def add_arguments(self, *, parser): # noqa: D102 action='store_true', help='Force CMake configure step') - async def build( + async def build( # noqa: D102 self, *, additional_hooks=None, skip_hook_creation=False, environment_callback=None, additional_targets=None - ): # noqa: D102 + ): pkg = self.context.pkg args = self.context.args diff --git a/colcon_cmake/test_result/ctest.py b/colcon_cmake/test_result/ctest.py index 82351c0..38c9677 100644 --- a/colcon_cmake/test_result/ctest.py +++ b/colcon_cmake/test_result/ctest.py @@ -26,9 +26,9 @@ def __init__(self): # noqa: D107 satisfies_version( TestResultExtensionPoint.EXTENSION_POINT_VERSION, '^1.0') - def get_test_results( + def get_test_results( # noqa: D102 self, basepath, *, collect_details, files=None - ): # noqa: D102 + ): results = set() # check all 'TAG' files in a directory named 'Testing' for tag_file in basepath.glob('**/Testing/TAG'): diff --git a/setup.cfg b/setup.cfg index b4407ca..dcd7c34 100644 --- a/setup.cfg +++ b/setup.cfg @@ -51,6 +51,8 @@ zip_safe = true [tool:pytest] filterwarnings = error + # Suppress deprecation warning in flake8 + ignore:SelectableGroups dict interface is deprecated::flake8 junit_suite_name = colcon-cmake [options.entry_points]