ASF License checking policy


#1

Hi, The ASF license checker rat is explicitly configured to not check init.py source files, I’m curious what the motivation for that decision is, can anyone elaborate?

Cheers
/Marcus


#2

The main reason was is lint.py was in the 3rdparty/dmlc-core folder and is considered as dependency instead.


#3

Hi, Sorry, my question wasn’t very precise, I didn’t properly quote __init__.py in the question, let me try again.

In tests/lint/rat-excludes we have the pattern
__init__.py hence none of the __init__.py files in the source tree are ASF license checked, I wonder if this is deliberate or accidental?


#4

Ah, i saw it was lint.py I think we also need asf license for all init.py headers, so it could be an oversight