From 9a109186da574be2dd21a6808b5c7fc10395ab66 Mon Sep 17 00:00:00 2001 From: Soim Kim Date: Wed, 26 Aug 2026 11:55:26 +0900 Subject: [PATCH] feat: exclude __tests__ directories by default. Align Jest-style test folders with existing test/tests exclusion in get_excluded_paths. --- src/fosslight_util/exclude.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fosslight_util/exclude.py b/src/fosslight_util/exclude.py index 093fee8..071fd93 100644 --- a/src/fosslight_util/exclude.py +++ b/src/fosslight_util/exclude.py @@ -7,7 +7,7 @@ import fnmatch from typing import List -EXCLUDE_DIRECTORY = ["test", "tests", "doc", "docs", "intermediates"] +EXCLUDE_DIRECTORY = ["test", "tests", "__tests__", "doc", "docs", "intermediates"] PACKAGE_DIRECTORY = ["node_modules", "venv", "Pods", "Carthage"] EXCLUDE_FILENAME = [ "changelog", "config.guess", "config.sub", "changes", "ltmain.sh",