From 045ed8b4170059f50cb6cac0a8198a9b2e75dc9c Mon Sep 17 00:00:00 2001 From: Scott K Logan Date: Tue, 9 Apr 2024 10:24:02 -0500 Subject: [PATCH] Suppress flake8 A005 in existing colcon API Rather than suppress A005 completely, we can ignore it in our existing API to prevent new A005 violations from appearing. --- setup.cfg | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/setup.cfg b/setup.cfg index 640bf8b21..85391702f 100644 --- a/setup.cfg +++ b/setup.cfg @@ -156,6 +156,10 @@ colcon_core.task.python.template = *.em [flake8] import-order-style = google +per-file-ignores = + colcon_core/distutils/__init__.py:A005 + colcon_core/logging.py:A005 + colcon_core/subprocess.py:A005 [coverage:run] source = colcon_core