From 1eed8df1c4dbba5a108bccf385fd867233b2e613 Mon Sep 17 00:00:00 2001 From: Pepijn Date: Wed, 15 Jul 2026 13:42:45 +0200 Subject: [PATCH] style: add missing license headers --- src/lerobot/runtime/sim_robocasa.py | 14 ++++++++++++++ tests/policies/pi052/test_pi052_runtime_adapter.py | 14 ++++++++++++++ tests/runtime/test_adapter.py | 14 ++++++++++++++ tests/runtime/test_cli.py | 14 ++++++++++++++ tests/runtime/test_language_runtime.py | 14 ++++++++++++++ tests/runtime/test_sim_robocasa.py | 14 ++++++++++++++ 6 files changed, 84 insertions(+) diff --git a/src/lerobot/runtime/sim_robocasa.py b/src/lerobot/runtime/sim_robocasa.py index 870bcd8e3..e97874db8 100644 --- a/src/lerobot/runtime/sim_robocasa.py +++ b/src/lerobot/runtime/sim_robocasa.py @@ -1,3 +1,17 @@ +# Copyright 2026 The HuggingFace Inc. team. All rights reserved. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + """RoboCasa simulation backend for the interactive language runtime. Lets an operator type open-ended prompts (``/action ``) and have a diff --git a/tests/policies/pi052/test_pi052_runtime_adapter.py b/tests/policies/pi052/test_pi052_runtime_adapter.py index 0bf57f29f..dddeb58c1 100644 --- a/tests/policies/pi052/test_pi052_runtime_adapter.py +++ b/tests/policies/pi052/test_pi052_runtime_adapter.py @@ -1,3 +1,17 @@ +# Copyright 2026 The HuggingFace Inc. team. All rights reserved. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + from types import SimpleNamespace from lerobot.policies.pi052.inference.pi052_adapter import PI052PolicyAdapter diff --git a/tests/runtime/test_adapter.py b/tests/runtime/test_adapter.py index 270fbf396..fb1fbc469 100644 --- a/tests/runtime/test_adapter.py +++ b/tests/runtime/test_adapter.py @@ -1,3 +1,17 @@ +# Copyright 2026 The HuggingFace Inc. team. All rights reserved. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + from lerobot.runtime import RuntimeState from lerobot.runtime.adapter import ( BaseLanguageAdapter, diff --git a/tests/runtime/test_cli.py b/tests/runtime/test_cli.py index f5bd9c234..33d0414a1 100644 --- a/tests/runtime/test_cli.py +++ b/tests/runtime/test_cli.py @@ -1,3 +1,17 @@ +# Copyright 2026 The HuggingFace Inc. team. All rights reserved. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + from types import SimpleNamespace from unittest.mock import MagicMock diff --git a/tests/runtime/test_language_runtime.py b/tests/runtime/test_language_runtime.py index 7d7dd8fba..584fb1b01 100644 --- a/tests/runtime/test_language_runtime.py +++ b/tests/runtime/test_language_runtime.py @@ -1,3 +1,17 @@ +# Copyright 2026 The HuggingFace Inc. team. All rights reserved. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + from lerobot.runtime import ( LanguageConditionedRuntime, RuntimeState, diff --git a/tests/runtime/test_sim_robocasa.py b/tests/runtime/test_sim_robocasa.py index 07ad6375c..3b788df9e 100644 --- a/tests/runtime/test_sim_robocasa.py +++ b/tests/runtime/test_sim_robocasa.py @@ -1,3 +1,17 @@ +# Copyright 2026 The HuggingFace Inc. team. All rights reserved. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + import sys from types import SimpleNamespace