From f5669b4f399432ff7f42666fc024d8f29774b89c Mon Sep 17 00:00:00 2001 From: Nick Walker Date: Fri, 14 Aug 2020 15:12:20 -0700 Subject: [PATCH] Linter updates for YOLO --- .flake8 | 2 +- .github/workflows/ci.yaml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.flake8 b/.flake8 index 1d0f20d..7877ccc 100644 --- a/.flake8 +++ b/.flake8 @@ -1,6 +1,6 @@ [flake8] max-line-length = 160 -exclude = tests/* +exclude = tests/* uw_detection/src/yolov3 max-complexity = 10 # We import modules here to make the API cleaner per-file-ignores = **/recognize_speech/__init__.py:F401 diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 5e98ea5..0cf493d 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -7,6 +7,7 @@ jobs: env: AFTER_SCRIPT: 'cd $target_ws && rosenv && catkin build $(catkin list --depends-on roslint -u) --no-deps --no-status --verbose --make-args roslint' CATKIN_LINT: true + CATKIN_LINT_ARGS: "--ignore missing_directory --ignore external_link_directory" ROS_DISTRO: melodic ROS_REPO: main strategy: