Skip to content

Commit a5c4af6

Browse files
Merge pull request #146 from fosslight/dev_excludeFiles
Add excluded extensions
2 parents 1d43684 + a9f59b8 commit a5c4af6

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

src/fosslight_source/_scan_item.py

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,9 @@
99

1010
logger = logging.getLogger(constant.LOGGER_NAME)
1111
replace_word = ["-only", "-old-style", "-or-later", "licenseref-scancode-", "licenseref-"]
12-
_exclude_filename = ["changelog", "config.guess", "config.sub",
13-
"config.h.in", "changes", "ltmain.sh",
14-
"aclocal.m4", "configure", "configure.ac",
15-
"depcomp", "compile", "missing", "libtool.m4",
16-
"makefile"]
17-
_exclude_extension = [".m4"]
12+
_exclude_filename = ["changelog", "config.guess", "config.sub", "changes", "ltmain.sh",
13+
"configure", "configure.ac", "depcomp", "compile", "missing", "makefile"]
14+
_exclude_extension = [".m4", ".in", ".po"]
1815
_exclude_directory = ["test", "tests", "doc", "docs"]
1916
_exclude_directory = [os.path.sep + dir_name +
2017
os.path.sep for dir_name in _exclude_directory]

0 commit comments

Comments
 (0)