pyro-ppl / pyro

Deep universal probabilistic programming with Python and PyTorch
http://pyro.ai
Apache License 2.0
8.59k stars 987 forks source link

add license and copyright headers #3380

Closed andife closed 4 months ago

andife commented 4 months ago

When I tried to add a new distribution, the check of update_headers.py failed (I thought my header was correct).

To add a badge to README, the Project has to be registered at https://api.reuse.software/register

I used the following line to add copyright and license: reuse annotate --copyright="Copyright Contributors to the Pyro project." --license="Apache-2.0" tutorial\source\sir_hmc.rst

With the changes in that PR I get the following:

(pyro_debug) C:\dev\github\pyro>reuse lint

# SUMMARY

* Bad licenses: 0
* Deprecated licenses: 0
* Licenses without file extension: 0
* Missing licenses: 0
* Unused licenses: 0
* Used licenses: BSD-3-Clause, MIT, CC0-1.0, Apache-2.0
* Read errors: 0
* Files with copyright information: 838 / 838
* Files with license information: 838 / 838

Congratulations! Your project is compliant with version 3.2 of the REUSE Specification :-)