Should all files have GPL license statement at top? Found one without

File:
operator_modal_view3d_raycast.py

just starts off
import bpy

Should it have the GPL statement and the “pep8-80 compliant” statement?

As a general rule of thumb , yes. Legally probably will depend on jurisdiction but most likely does not affect the application of GPL which generally the courts tend to apply.

I don’t think pep has anything to do with the GPL statement, that is a guide for how you write the code itself, code design guidelines to make sure code is less bug prone, easier to read and uniform.

2 Likes

Okay, thanks for the info.

operator_modal_view3d_raycast.py is a Python template for the text editor. All templates are in the public domain so that you can use them for anything.

1 Like

Just saw that now they are templates, and non have that block.
Thanks