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


#1

File:
operator_modal_view3d_raycast.py

just starts off
import bpy

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


#2

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.


#3

Okay, thanks for the info.


#4

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.


#5

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