diff --git a/.gitignore b/.gitignore index ecfb4766f..4bb36715b 100644 --- a/.gitignore +++ b/.gitignore @@ -15,3 +15,6 @@ dist .idea/ .virt/ datafile.json + +# OSX folder metadata +*.DS_Store diff --git a/optimizely/__init__.py b/optimizely/__init__.py index cc653bcde..e0ed6ba38 100644 --- a/optimizely/__init__.py +++ b/optimizely/__init__.py @@ -4,7 +4,7 @@ # 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. diff --git a/optimizely/bucketer.py b/optimizely/bucketer.py index ca3d2c078..77f77e109 100644 --- a/optimizely/bucketer.py +++ b/optimizely/bucketer.py @@ -4,7 +4,7 @@ # 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. diff --git a/optimizely/decision_service.py b/optimizely/decision_service.py index 80fe83100..e23710f53 100644 --- a/optimizely/decision_service.py +++ b/optimizely/decision_service.py @@ -4,7 +4,7 @@ # 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. diff --git a/optimizely/entities.py b/optimizely/entities.py index df5e76ca6..c9d70d26e 100644 --- a/optimizely/entities.py +++ b/optimizely/entities.py @@ -4,7 +4,7 @@ # 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. diff --git a/optimizely/error_handler.py b/optimizely/error_handler.py index d3b70acd3..452ac1d8d 100644 --- a/optimizely/error_handler.py +++ b/optimizely/error_handler.py @@ -4,7 +4,7 @@ # 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. diff --git a/optimizely/event_builder.py b/optimizely/event_builder.py index 18894a7f2..4f4be6f0b 100644 --- a/optimizely/event_builder.py +++ b/optimizely/event_builder.py @@ -4,7 +4,7 @@ # 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. diff --git a/optimizely/event_dispatcher.py b/optimizely/event_dispatcher.py index ec873be52..f263c988b 100644 --- a/optimizely/event_dispatcher.py +++ b/optimizely/event_dispatcher.py @@ -4,7 +4,7 @@ # 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. diff --git a/optimizely/exceptions.py b/optimizely/exceptions.py index 6cadf0fb8..dc7db6adf 100644 --- a/optimizely/exceptions.py +++ b/optimizely/exceptions.py @@ -4,7 +4,7 @@ # 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. diff --git a/optimizely/helpers/__init__.py b/optimizely/helpers/__init__.py index cc653bcde..e0ed6ba38 100644 --- a/optimizely/helpers/__init__.py +++ b/optimizely/helpers/__init__.py @@ -4,7 +4,7 @@ # 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. diff --git a/optimizely/helpers/audience.py b/optimizely/helpers/audience.py index 3c8040a8d..b1c7a6b11 100644 --- a/optimizely/helpers/audience.py +++ b/optimizely/helpers/audience.py @@ -4,7 +4,7 @@ # 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. diff --git a/optimizely/helpers/condition.py b/optimizely/helpers/condition.py index d55ff16e8..37b669ecf 100644 --- a/optimizely/helpers/condition.py +++ b/optimizely/helpers/condition.py @@ -4,7 +4,7 @@ # 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. diff --git a/optimizely/helpers/constants.py b/optimizely/helpers/constants.py index 85df72521..a9cb3b97a 100644 --- a/optimizely/helpers/constants.py +++ b/optimizely/helpers/constants.py @@ -4,7 +4,7 @@ # 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. diff --git a/optimizely/helpers/enums.py b/optimizely/helpers/enums.py index ad09b0084..e0f0fd0c3 100644 --- a/optimizely/helpers/enums.py +++ b/optimizely/helpers/enums.py @@ -4,7 +4,7 @@ # 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. diff --git a/optimizely/helpers/event_tag_utils.py b/optimizely/helpers/event_tag_utils.py index 870bb9181..3baf0406a 100644 --- a/optimizely/helpers/event_tag_utils.py +++ b/optimizely/helpers/event_tag_utils.py @@ -4,7 +4,7 @@ # 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. diff --git a/optimizely/helpers/experiment.py b/optimizely/helpers/experiment.py index 8768581e8..6d1c21e09 100644 --- a/optimizely/helpers/experiment.py +++ b/optimizely/helpers/experiment.py @@ -4,7 +4,7 @@ # 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. diff --git a/optimizely/helpers/validator.py b/optimizely/helpers/validator.py index 55f828f08..9c27418f0 100644 --- a/optimizely/helpers/validator.py +++ b/optimizely/helpers/validator.py @@ -4,7 +4,7 @@ # 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. diff --git a/optimizely/lib/__init__.py b/optimizely/lib/__init__.py index cc653bcde..e0ed6ba38 100644 --- a/optimizely/lib/__init__.py +++ b/optimizely/lib/__init__.py @@ -4,7 +4,7 @@ # 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. diff --git a/optimizely/logger.py b/optimizely/logger.py index 9b2c333be..b6122f232 100644 --- a/optimizely/logger.py +++ b/optimizely/logger.py @@ -4,7 +4,7 @@ # 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. diff --git a/optimizely/notification_center.py b/optimizely/notification_center.py index c305e7d26..f100e23a0 100644 --- a/optimizely/notification_center.py +++ b/optimizely/notification_center.py @@ -4,7 +4,7 @@ # 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. diff --git a/optimizely/optimizely.py b/optimizely/optimizely.py index 1455c58f3..6183cec91 100644 --- a/optimizely/optimizely.py +++ b/optimizely/optimizely.py @@ -4,7 +4,7 @@ # 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. diff --git a/optimizely/project_config.py b/optimizely/project_config.py index 5f6865330..e5ade7be3 100644 --- a/optimizely/project_config.py +++ b/optimizely/project_config.py @@ -4,7 +4,7 @@ # 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. diff --git a/optimizely/user_profile.py b/optimizely/user_profile.py index 572ea823e..67452dd4d 100644 --- a/optimizely/user_profile.py +++ b/optimizely/user_profile.py @@ -4,7 +4,7 @@ # 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. diff --git a/optimizely/version.py b/optimizely/version.py index 206688f08..90e0d1d79 100644 --- a/optimizely/version.py +++ b/optimizely/version.py @@ -4,7 +4,7 @@ # 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. diff --git a/tests/__init__.py b/tests/__init__.py index cc653bcde..e0ed6ba38 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -4,7 +4,7 @@ # 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. diff --git a/tests/base.py b/tests/base.py index f2399fb40..121c95a96 100644 --- a/tests/base.py +++ b/tests/base.py @@ -4,7 +4,7 @@ # 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. diff --git a/tests/benchmarking/benchmarking_tests.py b/tests/benchmarking/benchmarking_tests.py index 16817a258..97fdddbed 100644 --- a/tests/benchmarking/benchmarking_tests.py +++ b/tests/benchmarking/benchmarking_tests.py @@ -4,7 +4,7 @@ # 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. diff --git a/tests/benchmarking/data.py b/tests/benchmarking/data.py index 59facc06c..4bd16a258 100644 --- a/tests/benchmarking/data.py +++ b/tests/benchmarking/data.py @@ -4,7 +4,7 @@ # 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. diff --git a/tests/helpers_tests/__init__.py b/tests/helpers_tests/__init__.py index cc653bcde..e0ed6ba38 100644 --- a/tests/helpers_tests/__init__.py +++ b/tests/helpers_tests/__init__.py @@ -4,7 +4,7 @@ # 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. diff --git a/tests/helpers_tests/test_audience.py b/tests/helpers_tests/test_audience.py index 0453b1c30..6302ad8a5 100644 --- a/tests/helpers_tests/test_audience.py +++ b/tests/helpers_tests/test_audience.py @@ -4,7 +4,7 @@ # 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. diff --git a/tests/helpers_tests/test_condition.py b/tests/helpers_tests/test_condition.py index e863d41bd..828b33cbd 100644 --- a/tests/helpers_tests/test_condition.py +++ b/tests/helpers_tests/test_condition.py @@ -4,7 +4,7 @@ # 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. diff --git a/tests/helpers_tests/test_event_tag_utils.py b/tests/helpers_tests/test_event_tag_utils.py index ada654e0a..878a8d24c 100644 --- a/tests/helpers_tests/test_event_tag_utils.py +++ b/tests/helpers_tests/test_event_tag_utils.py @@ -4,7 +4,7 @@ # 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. diff --git a/tests/helpers_tests/test_experiment.py b/tests/helpers_tests/test_experiment.py index eb9518549..fd46f3b43 100644 --- a/tests/helpers_tests/test_experiment.py +++ b/tests/helpers_tests/test_experiment.py @@ -4,7 +4,7 @@ # 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. diff --git a/tests/helpers_tests/test_validator.py b/tests/helpers_tests/test_validator.py index 3f7da189b..4c833d95b 100644 --- a/tests/helpers_tests/test_validator.py +++ b/tests/helpers_tests/test_validator.py @@ -4,7 +4,7 @@ # 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. diff --git a/tests/test_bucketing.py b/tests/test_bucketing.py index 0db43d3c8..9a6587a3d 100644 --- a/tests/test_bucketing.py +++ b/tests/test_bucketing.py @@ -4,7 +4,7 @@ # 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. diff --git a/tests/test_config.py b/tests/test_config.py index c3dd35449..d73efc015 100644 --- a/tests/test_config.py +++ b/tests/test_config.py @@ -4,7 +4,7 @@ # 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. diff --git a/tests/test_decision_service.py b/tests/test_decision_service.py index ebdd6ff67..ed0a21a42 100644 --- a/tests/test_decision_service.py +++ b/tests/test_decision_service.py @@ -4,7 +4,7 @@ # 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. diff --git a/tests/test_event_builder.py b/tests/test_event_builder.py index e842179a6..63d353e5f 100644 --- a/tests/test_event_builder.py +++ b/tests/test_event_builder.py @@ -4,7 +4,7 @@ # 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. diff --git a/tests/test_event_dispatcher.py b/tests/test_event_dispatcher.py index 923609b72..a6ce04561 100644 --- a/tests/test_event_dispatcher.py +++ b/tests/test_event_dispatcher.py @@ -4,7 +4,7 @@ # 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. diff --git a/tests/test_optimizely.py b/tests/test_optimizely.py index c223a73a0..440cdb5c8 100644 --- a/tests/test_optimizely.py +++ b/tests/test_optimizely.py @@ -4,7 +4,7 @@ # 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. diff --git a/tests/test_user_profile.py b/tests/test_user_profile.py index a3cdb1d04..9b1105884 100644 --- a/tests/test_user_profile.py +++ b/tests/test_user_profile.py @@ -4,7 +4,7 @@ # 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. diff --git a/tests/testapp/application.py b/tests/testapp/application.py index 7d8eb0142..2d736af90 100644 --- a/tests/testapp/application.py +++ b/tests/testapp/application.py @@ -4,7 +4,7 @@ # 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. diff --git a/tests/testapp/user_profile_service.py b/tests/testapp/user_profile_service.py index 5603f1e32..9c01374e6 100644 --- a/tests/testapp/user_profile_service.py +++ b/tests/testapp/user_profile_service.py @@ -4,7 +4,7 @@ # 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.