On 9/4/2026 7:06 AM, G. Paul Ziemba wrote:
Checkstyle complains about missing 'SPDX-License-Identifier:' in new,
empty __init__.py files.

The ways of python module inclusion are strange to me, so I'm not sure
what the recommended course of action is:

1. Add a comment containing 'SPDX-License-Identifier:' to the otherwise
    empty __init__.py

2. Modify extras/scripts/checkstyle.sh to permit empty __init__.py

3. Other?

I think either of the first two options would suffice. It is very
uncommon to add __init__.py files to VPP code. The last one was added a year ago, and the second most recent was added 8 years ago.

I'd probably just include a 'SPDX-License-Identifier:' to the otherwise
empty __init__.py and call it a day.


-Jeff
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#27167): https://lists.fd.io/g/vpp-dev/message/27167
Mute This Topic: https://lists.fd.io/mt/121086523/21656
Group Owner: [email protected]
Unsubscribe: https://lists.fd.io/g/vpp-dev/leave/14379924/21656/631435203/xyzzy 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to