diff --git a/CHANGELOG.md b/CHANGELOG.md index fc8eca7d..6bfe58ff 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,8 @@ # Version 1.3.1 ## Quality of Life -- Improved documentation on installation of extra requirements. +- Improve documentation on installation of extra requirements. +- Add licence information to all source files. # Version 1.3 diff --git a/deepcave/__init__.py b/deepcave/__init__.py index 9b825b4c..408e7360 100644 --- a/deepcave/__init__.py +++ b/deepcave/__init__.py @@ -1,3 +1,17 @@ +# Copyright 2021-2024 The DeepCAVE Authors +# +# 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. + # noqa: D400 """ # DeepCAVE diff --git a/deepcave/cli.py b/deepcave/cli.py index ae23c9e1..ec755348 100644 --- a/deepcave/cli.py +++ b/deepcave/cli.py @@ -1,3 +1,17 @@ +# Copyright 2021-2024 The DeepCAVE Authors +# +# 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. + # noqa: D400 """ # CLI diff --git a/deepcave/config.py b/deepcave/config.py index 651f12e8..84c6aa58 100644 --- a/deepcave/config.py +++ b/deepcave/config.py @@ -1,3 +1,17 @@ +# Copyright 2021-2024 The DeepCAVE Authors +# +# 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. + # noqa: D400 """ # Config diff --git a/deepcave/constants.py b/deepcave/constants.py index abbc92cc..f8bee169 100644 --- a/deepcave/constants.py +++ b/deepcave/constants.py @@ -1,3 +1,17 @@ +# Copyright 2021-2024 The DeepCAVE Authors +# +# 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. + # noqa: D400 """ # Constants diff --git a/deepcave/custom_queue.py b/deepcave/custom_queue.py index dcc08b13..323fd37b 100644 --- a/deepcave/custom_queue.py +++ b/deepcave/custom_queue.py @@ -1,3 +1,17 @@ +# Copyright 2021-2024 The DeepCAVE Authors +# +# 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. + # noqa: D400 """ # Custom Queue diff --git a/deepcave/open.py b/deepcave/open.py index 8c43bb08..ab746a2b 100644 --- a/deepcave/open.py +++ b/deepcave/open.py @@ -1,3 +1,17 @@ +# Copyright 2021-2024 The DeepCAVE Authors +# +# 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. + # noqa: D400 """ # Open diff --git a/deepcave/runs/__init__.py b/deepcave/runs/__init__.py index cc347971..c3610929 100644 --- a/deepcave/runs/__init__.py +++ b/deepcave/runs/__init__.py @@ -1,3 +1,17 @@ +# Copyright 2021-2024 The DeepCAVE Authors +# +# 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. + # noqa: D400 """ # AbstractRun diff --git a/deepcave/runs/converters/__init__.py b/deepcave/runs/converters/__init__.py index 2f5829ff..0c224394 100644 --- a/deepcave/runs/converters/__init__.py +++ b/deepcave/runs/converters/__init__.py @@ -1,3 +1,17 @@ +# Copyright 2021-2024 The DeepCAVE Authors +# +# 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. + # noqa: D400 """ # converters diff --git a/deepcave/runs/converters/amltk.py b/deepcave/runs/converters/amltk.py index 984bc09d..3f1becef 100644 --- a/deepcave/runs/converters/amltk.py +++ b/deepcave/runs/converters/amltk.py @@ -1,3 +1,17 @@ +# Copyright 2021-2024 The DeepCAVE Authors +# +# 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. + # noqa: D400 """ # AMLTKRun diff --git a/deepcave/runs/converters/bohb.py b/deepcave/runs/converters/bohb.py index e3b851bf..08b2f37c 100644 --- a/deepcave/runs/converters/bohb.py +++ b/deepcave/runs/converters/bohb.py @@ -1,3 +1,17 @@ +# Copyright 2021-2024 The DeepCAVE Authors +# +# 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. + # noqa: D400 """ # BOHBRun diff --git a/deepcave/runs/converters/dataframe.py b/deepcave/runs/converters/dataframe.py index 37302620..7cbc0bce 100644 --- a/deepcave/runs/converters/dataframe.py +++ b/deepcave/runs/converters/dataframe.py @@ -1,3 +1,17 @@ +# Copyright 2021-2024 The DeepCAVE Authors +# +# 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. + # noqa: D400 """ # DataFrameRun diff --git a/deepcave/runs/converters/deepcave.py b/deepcave/runs/converters/deepcave.py index ff8f70a3..9fedc619 100644 --- a/deepcave/runs/converters/deepcave.py +++ b/deepcave/runs/converters/deepcave.py @@ -1,3 +1,17 @@ +# Copyright 2021-2024 The DeepCAVE Authors +# +# 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. + # noqa: D400 """ # DeepCAVE diff --git a/deepcave/runs/converters/optuna.py b/deepcave/runs/converters/optuna.py index 5d9ce93b..2d570744 100644 --- a/deepcave/runs/converters/optuna.py +++ b/deepcave/runs/converters/optuna.py @@ -1,3 +1,17 @@ +# Copyright 2021-2024 The DeepCAVE Authors +# +# 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. + # noqa: D400 """ # OptunaRun diff --git a/deepcave/runs/converters/smac3v1.py b/deepcave/runs/converters/smac3v1.py index 8bad2e75..21afe20c 100644 --- a/deepcave/runs/converters/smac3v1.py +++ b/deepcave/runs/converters/smac3v1.py @@ -1,3 +1,17 @@ +# Copyright 2021-2024 The DeepCAVE Authors +# +# 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. + # noqa: D400 """ # SMAC3v1Run diff --git a/deepcave/runs/converters/smac3v2.py b/deepcave/runs/converters/smac3v2.py index 1294c0ef..0c933526 100644 --- a/deepcave/runs/converters/smac3v2.py +++ b/deepcave/runs/converters/smac3v2.py @@ -1,3 +1,17 @@ +# Copyright 2021-2024 The DeepCAVE Authors +# +# 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. + # noqa: D400 """ # SMAC3v2Run diff --git a/deepcave/runs/exceptions.py b/deepcave/runs/exceptions.py index be717fdb..35ba80f9 100644 --- a/deepcave/runs/exceptions.py +++ b/deepcave/runs/exceptions.py @@ -1,3 +1,17 @@ +# Copyright 2021-2024 The DeepCAVE Authors +# +# 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. + # noqa: D400 """ # Exceptions diff --git a/deepcave/runs/group.py b/deepcave/runs/group.py index d8357e83..b6f91926 100644 --- a/deepcave/runs/group.py +++ b/deepcave/runs/group.py @@ -1,3 +1,17 @@ +# Copyright 2021-2024 The DeepCAVE Authors +# +# 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. + # noqa: D400 """ # Group diff --git a/deepcave/runs/handler.py b/deepcave/runs/handler.py index 9fcd3c48..27387348 100644 --- a/deepcave/runs/handler.py +++ b/deepcave/runs/handler.py @@ -1,3 +1,17 @@ +# Copyright 2021-2024 The DeepCAVE Authors +# +# 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. + # noqa: D400 """ # Handler diff --git a/deepcave/runs/objective.py b/deepcave/runs/objective.py index 1b328806..fcb62915 100644 --- a/deepcave/runs/objective.py +++ b/deepcave/runs/objective.py @@ -1,3 +1,17 @@ +# Copyright 2021-2024 The DeepCAVE Authors +# +# 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. + # noqa: D400 """ # Objective diff --git a/deepcave/runs/recorder.py b/deepcave/runs/recorder.py index 4dead954..b93bcf37 100644 --- a/deepcave/runs/recorder.py +++ b/deepcave/runs/recorder.py @@ -1,3 +1,17 @@ +# Copyright 2021-2024 The DeepCAVE Authors +# +# 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. + # noqa: D400 """ # Recorder diff --git a/deepcave/runs/run.py b/deepcave/runs/run.py index b4cba4d7..18e3475c 100644 --- a/deepcave/runs/run.py +++ b/deepcave/runs/run.py @@ -1,3 +1,17 @@ +# Copyright 2021-2024 The DeepCAVE Authors +# +# 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. + # noqa: D400 """ # Run diff --git a/deepcave/runs/status.py b/deepcave/runs/status.py index 64855fd0..153e3375 100644 --- a/deepcave/runs/status.py +++ b/deepcave/runs/status.py @@ -1,3 +1,17 @@ +# Copyright 2021-2024 The DeepCAVE Authors +# +# 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. + # noqa: D400 """ # Status diff --git a/deepcave/runs/trial.py b/deepcave/runs/trial.py index 89b298aa..2cb76385 100644 --- a/deepcave/runs/trial.py +++ b/deepcave/runs/trial.py @@ -1,3 +1,17 @@ +# Copyright 2021-2024 The DeepCAVE Authors +# +# 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. + # noqa: D400 """ # Trial diff --git a/deepcave/server.py b/deepcave/server.py index e0b56d7a..27d28110 100644 --- a/deepcave/server.py +++ b/deepcave/server.py @@ -1,3 +1,17 @@ +# Copyright 2021-2024 The DeepCAVE Authors +# +# 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. + # noqa: D400 """ # Server diff --git a/deepcave/start.sh b/deepcave/start.sh index e2ab383b..29d7ea85 100755 --- a/deepcave/start.sh +++ b/deepcave/start.sh @@ -1,3 +1,17 @@ +# Copyright 2021-2024 The DeepCAVE Authors +# +# 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. + #!/bin/bash # Abort script if any error occurs diff --git a/deepcave/utils/__init__.py b/deepcave/utils/__init__.py index ef990e84..c169ff75 100644 --- a/deepcave/utils/__init__.py +++ b/deepcave/utils/__init__.py @@ -1,3 +1,17 @@ +# Copyright 2021-2024 The DeepCAVE Authors +# +# 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. + # noqa: D400 """ # utils diff --git a/deepcave/utils/cache.py b/deepcave/utils/cache.py index ed7f9a44..c4ad6ed5 100644 --- a/deepcave/utils/cache.py +++ b/deepcave/utils/cache.py @@ -1,3 +1,17 @@ +# Copyright 2021-2024 The DeepCAVE Authors +# +# 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. + # noqa: D400 """ # Cache diff --git a/deepcave/utils/cast.py b/deepcave/utils/cast.py index 61f13235..dc20d196 100644 --- a/deepcave/utils/cast.py +++ b/deepcave/utils/cast.py @@ -1,3 +1,17 @@ +# Copyright 2021-2024 The DeepCAVE Authors +# +# 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. + # noqa: D400 """ # Cast diff --git a/deepcave/utils/compression.py b/deepcave/utils/compression.py index d68b350f..2439a981 100644 --- a/deepcave/utils/compression.py +++ b/deepcave/utils/compression.py @@ -1,3 +1,17 @@ +# Copyright 2021-2024 The DeepCAVE Authors +# +# 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. + # noqa: D400 """ # Compression diff --git a/deepcave/utils/configs.py b/deepcave/utils/configs.py index e5a50f81..6e83883f 100644 --- a/deepcave/utils/configs.py +++ b/deepcave/utils/configs.py @@ -1,3 +1,17 @@ +# Copyright 2021-2024 The DeepCAVE Authors +# +# 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. + # noqa: D400 """ # Configs diff --git a/deepcave/utils/configspace.py b/deepcave/utils/configspace.py index 99d91b02..8240005a 100644 --- a/deepcave/utils/configspace.py +++ b/deepcave/utils/configspace.py @@ -1,3 +1,17 @@ +# Copyright 2021-2024 The DeepCAVE Authors +# +# 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. + # noqa: D400 """ # ConfigSpace diff --git a/deepcave/utils/converters.py b/deepcave/utils/converters.py index e3ac16ba..807378c0 100644 --- a/deepcave/utils/converters.py +++ b/deepcave/utils/converters.py @@ -1,3 +1,17 @@ +# Copyright 2021-2024 The DeepCAVE Authors +# +# 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. + # noqa: D400 """ # Converters diff --git a/deepcave/utils/dash.py b/deepcave/utils/dash.py index 1a22b5bd..b3a5dff8 100644 --- a/deepcave/utils/dash.py +++ b/deepcave/utils/dash.py @@ -1,3 +1,17 @@ +# Copyright 2021-2024 The DeepCAVE Authors +# +# 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. + # noqa: D400 """ # Dash diff --git a/deepcave/utils/data_structures.py b/deepcave/utils/data_structures.py index c9427e93..e4bded53 100644 --- a/deepcave/utils/data_structures.py +++ b/deepcave/utils/data_structures.py @@ -1,3 +1,17 @@ +# Copyright 2021-2024 The DeepCAVE Authors +# +# 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. + # noqa: D400 """ # Data Structures diff --git a/deepcave/utils/docs.py b/deepcave/utils/docs.py index 0aeaadb1..3afa7c2e 100644 --- a/deepcave/utils/docs.py +++ b/deepcave/utils/docs.py @@ -1,3 +1,17 @@ +# Copyright 2021-2024 The DeepCAVE Authors +# +# 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. + # noqa: D400 """ # Docs diff --git a/deepcave/utils/files.py b/deepcave/utils/files.py index c0618f2a..320aa16a 100644 --- a/deepcave/utils/files.py +++ b/deepcave/utils/files.py @@ -1,3 +1,17 @@ +# Copyright 2021-2024 The DeepCAVE Authors +# +# 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. + # noqa: D400 """ # Files diff --git a/deepcave/utils/hash.py b/deepcave/utils/hash.py index 98e0efa6..6edccddd 100644 --- a/deepcave/utils/hash.py +++ b/deepcave/utils/hash.py @@ -1,3 +1,17 @@ +# Copyright 2021-2024 The DeepCAVE Authors +# +# 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. + # noqa: D400 """ # Hash diff --git a/deepcave/utils/layout.py b/deepcave/utils/layout.py index 428440e5..77a316b1 100644 --- a/deepcave/utils/layout.py +++ b/deepcave/utils/layout.py @@ -1,3 +1,17 @@ +# Copyright 2021-2024 The DeepCAVE Authors +# +# 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. + # noqa: D400 """ # Layout diff --git a/deepcave/utils/logs.py b/deepcave/utils/logs.py index d7a62c23..1a5953b9 100644 --- a/deepcave/utils/logs.py +++ b/deepcave/utils/logs.py @@ -1,3 +1,17 @@ +# Copyright 2021-2024 The DeepCAVE Authors +# +# 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. + # noqa: D400 """ # Logs diff --git a/deepcave/utils/notification.py b/deepcave/utils/notification.py index d5bdfa82..b1b08e78 100644 --- a/deepcave/utils/notification.py +++ b/deepcave/utils/notification.py @@ -1,3 +1,17 @@ +# Copyright 2021-2024 The DeepCAVE Authors +# +# 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. + # noqa: D400 """ # Notification diff --git a/deepcave/utils/run_caches.py b/deepcave/utils/run_caches.py index d4d05b74..6df5ab70 100644 --- a/deepcave/utils/run_caches.py +++ b/deepcave/utils/run_caches.py @@ -1,3 +1,17 @@ +# Copyright 2021-2024 The DeepCAVE Authors +# +# 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. + # noqa: D400 """ # RunCaches diff --git a/deepcave/utils/styled_plotty.py b/deepcave/utils/styled_plotty.py index d3f2beac..01a8b062 100644 --- a/deepcave/utils/styled_plotty.py +++ b/deepcave/utils/styled_plotty.py @@ -1,3 +1,17 @@ +# Copyright 2021-2024 The DeepCAVE Authors +# +# 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. + # noqa: D400 """ # Styled Plotty diff --git a/deepcave/utils/symbolic_regression.py b/deepcave/utils/symbolic_regression.py index b236e0c6..0cf666c9 100644 --- a/deepcave/utils/symbolic_regression.py +++ b/deepcave/utils/symbolic_regression.py @@ -1,3 +1,17 @@ +# Copyright 2021-2024 The DeepCAVE Authors +# +# 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. + # noqa: D400 """ # Symbolic Regression diff --git a/deepcave/utils/url.py b/deepcave/utils/url.py index 6c5676e6..b9085d78 100644 --- a/deepcave/utils/url.py +++ b/deepcave/utils/url.py @@ -1,3 +1,17 @@ +# Copyright 2021-2024 The DeepCAVE Authors +# +# 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. + # noqa: D400 """ # URL diff --git a/deepcave/utils/util.py b/deepcave/utils/util.py index c89a7997..0764d70b 100644 --- a/deepcave/utils/util.py +++ b/deepcave/utils/util.py @@ -1,3 +1,17 @@ +# Copyright 2021-2024 The DeepCAVE Authors +# +# 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. + # noqa: D400 """ # Util diff --git a/deepcave/worker.py b/deepcave/worker.py index df83e854..8a92f280 100644 --- a/deepcave/worker.py +++ b/deepcave/worker.py @@ -1,3 +1,17 @@ +# Copyright 2021-2024 The DeepCAVE Authors +# +# 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. + """ # Worker. diff --git a/tests/__init__.py b/tests/__init__.py index e69de29b..e2f6633b 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -0,0 +1,13 @@ +# Copyright 2021-2024 The DeepCAVE Authors +# +# 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. diff --git a/tests/test_evaluators/__init__.py b/tests/test_evaluators/__init__.py index e69de29b..e2f6633b 100644 --- a/tests/test_evaluators/__init__.py +++ b/tests/test_evaluators/__init__.py @@ -0,0 +1,13 @@ +# Copyright 2021-2024 The DeepCAVE Authors +# +# 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. diff --git a/tests/test_evaluators/test_ablation.py b/tests/test_evaluators/test_ablation.py index 970b6e56..82fb8611 100644 --- a/tests/test_evaluators/test_ablation.py +++ b/tests/test_evaluators/test_ablation.py @@ -1,3 +1,17 @@ +# Copyright 2021-2024 The DeepCAVE Authors +# +# 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 unittest from deepcave.evaluators.ablation import Ablation as Evaluator diff --git a/tests/test_evaluators/test_epm.py b/tests/test_evaluators/test_epm.py index 7baf824a..5521d926 100644 --- a/tests/test_evaluators/test_epm.py +++ b/tests/test_evaluators/test_epm.py @@ -1,3 +1,17 @@ +# Copyright 2021-2024 The DeepCAVE Authors +# +# 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 unittest from deepcave.constants import COMBINED_COST_NAME diff --git a/tests/test_evaluators/test_fanova.py b/tests/test_evaluators/test_fanova.py index 8c5f8a69..e2b68478 100644 --- a/tests/test_evaluators/test_fanova.py +++ b/tests/test_evaluators/test_fanova.py @@ -1,3 +1,17 @@ +# Copyright 2021-2024 The DeepCAVE Authors +# +# 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 unittest from deepcave.evaluators.fanova import fANOVA as Evaluator diff --git a/tests/test_evaluators/test_lpi.py b/tests/test_evaluators/test_lpi.py index 261be47f..a0af882c 100644 --- a/tests/test_evaluators/test_lpi.py +++ b/tests/test_evaluators/test_lpi.py @@ -1,3 +1,17 @@ +# Copyright 2021-2024 The DeepCAVE Authors +# +# 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 unittest from deepcave.evaluators.lpi import LPI as Evaluator diff --git a/tests/test_evaluators/test_random_forest_surrogate.py b/tests/test_evaluators/test_random_forest_surrogate.py index 424624bc..43aa6876 100644 --- a/tests/test_evaluators/test_random_forest_surrogate.py +++ b/tests/test_evaluators/test_random_forest_surrogate.py @@ -1,3 +1,17 @@ +# Copyright 2021-2024 The DeepCAVE Authors +# +# 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 unittest from pyPDP.blackbox_functions.synthetic_functions import StyblinskiTang diff --git a/tests/test_runs/__init__.py b/tests/test_runs/__init__.py index e69de29b..e2f6633b 100644 --- a/tests/test_runs/__init__.py +++ b/tests/test_runs/__init__.py @@ -0,0 +1,13 @@ +# Copyright 2021-2024 The DeepCAVE Authors +# +# 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. diff --git a/tests/test_runs/test_converter/__init__.py b/tests/test_runs/test_converter/__init__.py index e69de29b..e2f6633b 100644 --- a/tests/test_runs/test_converter/__init__.py +++ b/tests/test_runs/test_converter/__init__.py @@ -0,0 +1,13 @@ +# Copyright 2021-2024 The DeepCAVE Authors +# +# 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. diff --git a/tests/test_runs/test_converter/test_dataframe.py b/tests/test_runs/test_converter/test_dataframe.py index 87b516d6..6d288a1b 100644 --- a/tests/test_runs/test_converter/test_dataframe.py +++ b/tests/test_runs/test_converter/test_dataframe.py @@ -1,3 +1,17 @@ +# Copyright 2021-2024 The DeepCAVE Authors +# +# 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 os import tempfile import unittest diff --git a/tests/test_runs/test_groups.py b/tests/test_runs/test_groups.py index 94bbbaae..3d533b29 100644 --- a/tests/test_runs/test_groups.py +++ b/tests/test_runs/test_groups.py @@ -1,3 +1,17 @@ +# Copyright 2021-2024 The DeepCAVE Authors +# +# 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 unittest from deepcave.runs import AbstractRun, check_equality diff --git a/tests/test_runs/test_objective.py b/tests/test_runs/test_objective.py index 9b3ed31c..1520c230 100644 --- a/tests/test_runs/test_objective.py +++ b/tests/test_runs/test_objective.py @@ -1,3 +1,17 @@ +# Copyright 2021-2024 The DeepCAVE Authors +# +# 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 json import unittest diff --git a/tests/test_runs/test_run.py b/tests/test_runs/test_run.py index d3ecf486..1686038d 100644 --- a/tests/test_runs/test_run.py +++ b/tests/test_runs/test_run.py @@ -1,3 +1,17 @@ +# Copyright 2021-2024 The DeepCAVE Authors +# +# 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 typing import List import unittest diff --git a/tests/test_utils/__init__.py b/tests/test_utils/__init__.py index e69de29b..e2f6633b 100644 --- a/tests/test_utils/__init__.py +++ b/tests/test_utils/__init__.py @@ -0,0 +1,13 @@ +# Copyright 2021-2024 The DeepCAVE Authors +# +# 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. diff --git a/tests/test_utils/test_cache.py b/tests/test_utils/test_cache.py index 8eaef275..8aa21019 100644 --- a/tests/test_utils/test_cache.py +++ b/tests/test_utils/test_cache.py @@ -1,3 +1,17 @@ +# Copyright 2021-2024 The DeepCAVE Authors +# +# 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 json import logging import string