Add license headers#33
Conversation
📝 WalkthroughWalkthroughThis PR adds MIT license headers consistently across the entire wotpy codebase—130+ files spanning library modules, test suites, examples, and utility scripts. The only substantive code change is the introduction of ChangesLicense Header Addition and Package Versioning
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
🧹 Nitpick comments (1)
wotpy/protocols/coap/resources/__init__.py (1)
4-4: 💤 Low valueNote: Copyright year differs from other files in this PR.
This file uses copyright year 2017 while other files in the PR use 2018. This may be intentional to reflect the original creation date of this file, but verify for consistency.
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the rest with a brief reason, keep changes minimal, and validate. In `@wotpy/protocols/coap/resources/__init__.py` at line 4, Update the copyright year in wotpy/protocols/coap/resources/__init__.py to match the rest of the PR (change "2017" to "2018") or confirm and document why this file intentionally uses 2017; modify the header comment accordingly so it is consistent with other files in the branch.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Nitpick comments:
In `@wotpy/protocols/coap/resources/__init__.py`:
- Line 4: Update the copyright year in
wotpy/protocols/coap/resources/__init__.py to match the rest of the PR (change
"2017" to "2018") or confirm and document why this file intentionally uses 2017;
modify the header comment accordingly so it is consistent with other files in
the branch.
ℹ️ Review info
⚙️ Run configuration
Configuration used: defaults
Review profile: CHILL
Plan: Pro
Run ID: aa1d5ff0-b1b0-4e1a-a008-b21ddcd51fa7
📒 Files selected for processing (132)
examples/coffee-machine/client.pyexamples/coffee-machine/server.pyexamples/cpumonitor/server.pyexamples/subscriber/client.pypytest-docker.shtests/__init__.pytests/codecs/__init__.pytests/codecs/test_json.pytests/protocols/__init__.pytests/protocols/coap/__init__.pytests/protocols/coap/conftest.pytests/protocols/coap/test_client.pytests/protocols/coap/test_server.pytests/protocols/conftest.pytests/protocols/helpers.pytests/protocols/http/__init__.pytests/protocols/http/conftest.pytests/protocols/http/test_client.pytests/protocols/http/test_server.pytests/protocols/mqtt/__init__.pytests/protocols/mqtt/broker.pytests/protocols/mqtt/conftest.pytests/protocols/mqtt/test_client.pytests/protocols/mqtt/test_server.pytests/protocols/test_protocols.pytests/protocols/ws/__init__.pytests/protocols/ws/conftest.pytests/protocols/ws/test_client.pytests/protocols/ws/test_server.pytests/td_examples.pytests/utils.pytests/wot/__init__.pytests/wot/conftest.pytests/wot/discovery/__init__.pytests/wot/discovery/dnssd/__init__.pytests/wot/discovery/dnssd/conftest.pytests/wot/discovery/dnssd/test_service.pytests/wot/test_consumed.pytests/wot/test_dictionaries.pytests/wot/test_exposed.pytests/wot/test_servient.pytests/wot/test_td.pytests/wot/test_thing.pytests/wot/test_wot.pytests/wot/utils.pyversion.shwotpy/__init__.pywotpy/__version__.pywotpy/codecs/__init__.pywotpy/codecs/base.pywotpy/codecs/enums.pywotpy/codecs/json_codec.pywotpy/codecs/text.pywotpy/protocols/__init__.pywotpy/protocols/client.pywotpy/protocols/coap/__init__.pywotpy/protocols/coap/client.pywotpy/protocols/coap/enums.pywotpy/protocols/coap/resources/__init__.pywotpy/protocols/coap/resources/action.pywotpy/protocols/coap/resources/event.pywotpy/protocols/coap/resources/property.pywotpy/protocols/coap/resources/utils.pywotpy/protocols/coap/server.pywotpy/protocols/enums.pywotpy/protocols/exceptions.pywotpy/protocols/http/__init__.pywotpy/protocols/http/client.pywotpy/protocols/http/enums.pywotpy/protocols/http/handlers/__init__.pywotpy/protocols/http/handlers/action.pywotpy/protocols/http/handlers/event.pywotpy/protocols/http/handlers/property.pywotpy/protocols/http/handlers/utils.pywotpy/protocols/http/server.pywotpy/protocols/mqtt/__init__.pywotpy/protocols/mqtt/client.pywotpy/protocols/mqtt/enums.pywotpy/protocols/mqtt/handlers/__init__.pywotpy/protocols/mqtt/handlers/action.pywotpy/protocols/mqtt/handlers/base.pywotpy/protocols/mqtt/handlers/event.pywotpy/protocols/mqtt/handlers/ping.pywotpy/protocols/mqtt/handlers/property.pywotpy/protocols/mqtt/handlers/subs.pywotpy/protocols/mqtt/runner.pywotpy/protocols/mqtt/server.pywotpy/protocols/mqtt/utils.pywotpy/protocols/refs.pywotpy/protocols/server.pywotpy/protocols/utils.pywotpy/protocols/ws/__init__.pywotpy/protocols/ws/client.pywotpy/protocols/ws/enums.pywotpy/protocols/ws/handler.pywotpy/protocols/ws/messages.pywotpy/protocols/ws/schemas.pywotpy/protocols/ws/server.pywotpy/support.pywotpy/utils/__init__.pywotpy/utils/enums.pywotpy/utils/utils.pywotpy/wot/__init__.pywotpy/wot/constants.pywotpy/wot/consumed/__init__.pywotpy/wot/consumed/interaction_map.pywotpy/wot/consumed/thing.pywotpy/wot/dictionaries/__init__.pywotpy/wot/dictionaries/base.pywotpy/wot/dictionaries/filter.pywotpy/wot/dictionaries/interaction.pywotpy/wot/dictionaries/link.pywotpy/wot/dictionaries/schema.pywotpy/wot/dictionaries/security.pywotpy/wot/dictionaries/thing.pywotpy/wot/dictionaries/version.pywotpy/wot/discovery/__init__.pywotpy/wot/discovery/dnssd/__init__.pywotpy/wot/discovery/dnssd/service.pywotpy/wot/enums.pywotpy/wot/events.pywotpy/wot/exposed/__init__.pywotpy/wot/exposed/interaction_map.pywotpy/wot/exposed/thing.pywotpy/wot/exposed/thing_set.pywotpy/wot/form.pywotpy/wot/interaction.pywotpy/wot/servient.pywotpy/wot/td.pywotpy/wot/thing.pywotpy/wot/validation.pywotpy/wot/wot.py
@agmangas @egekorkan I added the MIT license headers to all python source files. Let me know if further changes are needed. Thank you!
Summary by CodeRabbit
Release Notes