Skip to content

Commit 5a2c72d

Browse files
Balandatfacebook-github-bot
authored andcommitted
Use consistent py3 shebang formatting (#430)
Summary: Removing some spacing inconsistencies. Pull Request resolved: #430 Test Plan: Circle CI Reviewed By: sdaulton Differential Revision: D21249662 Pulled By: Balandat fbshipit-source-id: 318e86663f4691867eaa7feecbab9c8580be4649
1 parent a184939 commit 5a2c72d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

69 files changed

+69
-69
lines changed

botorch/models/converter.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#! /usr/bin/env python3
1+
#!/usr/bin/env python3
22
# Copyright (c) Facebook, Inc. and its affiliates.
33
#
44
# This source code is licensed under the MIT license found in the

botorch/models/cost.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#! /usr/bin/env python3
1+
#!/usr/bin/env python3
22
# Copyright (c) Facebook, Inc. and its affiliates.
33
#
44
# This source code is licensed under the MIT license found in the

botorch/models/deterministic.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#! /usr/bin/env python3
1+
#!/usr/bin/env python3
22
# Copyright (c) Facebook, Inc. and its affiliates.
33
#
44
# This source code is licensed under the MIT license found in the

botorch/models/gp_regression.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#! /usr/bin/env python3
1+
#!/usr/bin/env python3
22
# Copyright (c) Facebook, Inc. and its affiliates.
33
#
44
# This source code is licensed under the MIT license found in the

botorch/models/gp_regression_fidelity.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#! /usr/bin/env python3
1+
#!/usr/bin/env python3
22
# Copyright (c) Facebook, Inc. and its affiliates.
33
#
44
# This source code is licensed under the MIT license found in the

botorch/models/gpytorch.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#! /usr/bin/env python3
1+
#!/usr/bin/env python3
22
# Copyright (c) Facebook, Inc. and its affiliates.
33
#
44
# This source code is licensed under the MIT license found in the

botorch/models/kernels/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#! /usr/bin/env python3
1+
#!/usr/bin/env python3
22
# Copyright (c) Facebook, Inc. and its affiliates.
33
#
44
# This source code is licensed under the MIT license found in the

botorch/models/model.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#! /usr/bin/env python3
1+
#!/usr/bin/env python3
22
# Copyright (c) Facebook, Inc. and its affiliates.
33
#
44
# This source code is licensed under the MIT license found in the

botorch/models/model_list_gp_regression.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#! /usr/bin/env python3
1+
#!/usr/bin/env python3
22
# Copyright (c) Facebook, Inc. and its affiliates.
33
#
44
# This source code is licensed under the MIT license found in the

botorch/models/multitask.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#! /usr/bin/env python3
1+
#!/usr/bin/env python3
22
# Copyright (c) Facebook, Inc. and its affiliates.
33
#
44
# This source code is licensed under the MIT license found in the

botorch/models/utils.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#! /usr/bin/env python3
1+
#!/usr/bin/env python3
22
# Copyright (c) Facebook, Inc. and its affiliates.
33
#
44
# This source code is licensed under the MIT license found in the

botorch/posteriors/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#! /usr/bin/env python3
1+
#!/usr/bin/env python3
22
# Copyright (c) Facebook, Inc. and its affiliates.
33
#
44
# This source code is licensed under the MIT license found in the

botorch/posteriors/deterministic.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#! /usr/bin/env python3
1+
#!/usr/bin/env python3
22
# Copyright (c) Facebook, Inc. and its affiliates.
33
#
44
# This source code is licensed under the MIT license found in the

botorch/posteriors/gpytorch.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#! /usr/bin/env python3
1+
#!/usr/bin/env python3
22
# Copyright (c) Facebook, Inc. and its affiliates.
33
#
44
# This source code is licensed under the MIT license found in the

botorch/posteriors/posterior.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#! /usr/bin/env python3
1+
#!/usr/bin/env python3
22
# Copyright (c) Facebook, Inc. and its affiliates.
33
#
44
# This source code is licensed under the MIT license found in the

botorch/posteriors/transformed.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#! /usr/bin/env python3
1+
#!/usr/bin/env python3
22
# Copyright (c) Facebook, Inc. and its affiliates.
33
#
44
# This source code is licensed under the MIT license found in the

botorch/sampling/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#! /usr/bin/env python3
1+
#!/usr/bin/env python3
22
# Copyright (c) Facebook, Inc. and its affiliates.
33
#
44
# This source code is licensed under the MIT license found in the

sphinx/source/conf.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#! /usr/bin/env python3
1+
#!/usr/bin/env python3
22

33
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
44

test/acquisition/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#! /usr/bin/env python3
1+
#!/usr/bin/env python3
22
# Copyright (c) Facebook, Inc. and its affiliates.
33
#
44
# This source code is licensed under the MIT license found in the

test/acquisition/test_acquisition.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#! /usr/bin/env python3
1+
#!/usr/bin/env python3
22
# Copyright (c) Facebook, Inc. and its affiliates.
33
#
44
# This source code is licensed under the MIT license found in the

test/acquisition/test_active_learning.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#! /usr/bin/env python3
1+
#!/usr/bin/env python3
22
# Copyright (c) Facebook, Inc. and its affiliates.
33
#
44
# This source code is licensed under the MIT license found in the

test/acquisition/test_analytic.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#! /usr/bin/env python3
1+
#!/usr/bin/env python3
22
# Copyright (c) Facebook, Inc. and its affiliates.
33
#
44
# This source code is licensed under the MIT license found in the

test/acquisition/test_cost_aware.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#! /usr/bin/env python3
1+
#!/usr/bin/env python3
22
# Copyright (c) Facebook, Inc. and its affiliates.
33
#
44
# This source code is licensed under the MIT license found in the

test/acquisition/test_fixed_feature.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#! /usr/bin/env python3
1+
#!/usr/bin/env python3
22
# Copyright (c) Facebook, Inc. and its affiliates.
33
#
44
# This source code is licensed under the MIT license found in the

test/acquisition/test_knowledge_gradient.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#! /usr/bin/env python3
1+
#!/usr/bin/env python3
22
# Copyright (c) Facebook, Inc. and its affiliates.
33
#
44
# This source code is licensed under the MIT license found in the

test/acquisition/test_max_value_entropy_search.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#! /usr/bin/env python3
1+
#!/usr/bin/env python3
22
# Copyright (c) Facebook, Inc. and its affiliates.
33
#
44
# This source code is licensed under the MIT license found in the

test/acquisition/test_monte_carlo.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#! /usr/bin/env python3
1+
#!/usr/bin/env python3
22
# Copyright (c) Facebook, Inc. and its affiliates.
33
#
44
# This source code is licensed under the MIT license found in the

test/acquisition/test_objective.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#! /usr/bin/env python3
1+
#!/usr/bin/env python3
22
# Copyright (c) Facebook, Inc. and its affiliates.
33
#
44
# This source code is licensed under the MIT license found in the

test/exceptions/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#! /usr/bin/env python3
1+
#!/usr/bin/env python3
22
# Copyright (c) Facebook, Inc. and its affiliates.
33
#
44
# This source code is licensed under the MIT license found in the

test/exceptions/test_errors.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#! /usr/bin/env python3
1+
#!/usr/bin/env python3
22
# Copyright (c) Facebook, Inc. and its affiliates.
33
#
44
# This source code is licensed under the MIT license found in the

test/exceptions/test_warnings.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#! /usr/bin/env python3
1+
#!/usr/bin/env python3
22
# Copyright (c) Facebook, Inc. and its affiliates.
33
#
44
# This source code is licensed under the MIT license found in the

test/generation/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#! /usr/bin/env python3
1+
#!/usr/bin/env python3
22
# Copyright (c) Facebook, Inc. and its affiliates.
33
#
44
# This source code is licensed under the MIT license found in the

test/generation/test_gen.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#! /usr/bin/env python3
1+
#!/usr/bin/env python3
22
# Copyright (c) Facebook, Inc. and its affiliates.
33
#
44
# This source code is licensed under the MIT license found in the

test/generation/test_sampling.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#! /usr/bin/env python3
1+
#!/usr/bin/env python3
22
# Copyright (c) Facebook, Inc. and its affiliates.
33
#
44
# This source code is licensed under the MIT license found in the

test/generation/test_utils.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#! /usr/bin/env python3
1+
#!/usr/bin/env python3
22
# Copyright (c) Facebook, Inc. and its affiliates.
33
#
44
# This source code is licensed under the MIT license found in the

test/models/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#! /usr/bin/env python3
1+
#!/usr/bin/env python3
22
# Copyright (c) Facebook, Inc. and its affiliates.
33
#
44
# This source code is licensed under the MIT license found in the

test/models/kernels/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#! /usr/bin/env python3
1+
#!/usr/bin/env python3
22
# Copyright (c) Facebook, Inc. and its affiliates.
33
#
44
# This source code is licensed under the MIT license found in the

test/models/test_converter.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#! /usr/bin/env python3
1+
#!/usr/bin/env python3
22
# Copyright (c) Facebook, Inc. and its affiliates.
33
#
44
# This source code is licensed under the MIT license found in the

test/models/test_cost.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#! /usr/bin/env python3
1+
#!/usr/bin/env python3
22
# Copyright (c) Facebook, Inc. and its affiliates.
33
#
44
# This source code is licensed under the MIT license found in the

test/models/test_gp_regression.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#! /usr/bin/env python3
1+
#!/usr/bin/env python3
22
# Copyright (c) Facebook, Inc. and its affiliates.
33
#
44
# This source code is licensed under the MIT license found in the

test/models/test_gp_regression_fidelity.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#! /usr/bin/env python3
1+
#!/usr/bin/env python3
22
# Copyright (c) Facebook, Inc. and its affiliates.
33
#
44
# This source code is licensed under the MIT license found in the

test/models/test_gpytorch.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#! /usr/bin/env python3
1+
#!/usr/bin/env python3
22
# Copyright (c) Facebook, Inc. and its affiliates.
33
#
44
# This source code is licensed under the MIT license found in the

test/models/test_model.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#! /usr/bin/env python3
1+
#!/usr/bin/env python3
22
# Copyright (c) Facebook, Inc. and its affiliates.
33
#
44
# This source code is licensed under the MIT license found in the

test/models/test_model_list_gp_regression.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#! /usr/bin/env python3
1+
#!/usr/bin/env python3
22
# Copyright (c) Facebook, Inc. and its affiliates.
33
#
44
# This source code is licensed under the MIT license found in the

test/models/test_multitask.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#! /usr/bin/env python3
1+
#!/usr/bin/env python3
22
# Copyright (c) Facebook, Inc. and its affiliates.
33
#
44
# This source code is licensed under the MIT license found in the

test/models/test_pairwise_gp.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#! /usr/bin/env python3
1+
#!/usr/bin/env python3
22
# Copyright (c) Facebook, Inc. and its affiliates.
33
#
44
# This source code is licensed under the MIT license found in the

test/models/test_utils.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#! /usr/bin/env python3
1+
#!/usr/bin/env python3
22
# Copyright (c) Facebook, Inc. and its affiliates.
33
#
44
# This source code is licensed under the MIT license found in the

test/models/transforms/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#! /usr/bin/env python3
1+
#!/usr/bin/env python3
22
# Copyright (c) Facebook, Inc. and its affiliates.
33
#
44
# This source code is licensed under the MIT license found in the

test/optim/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#! /usr/bin/env python3
1+
#!/usr/bin/env python3
22
# Copyright (c) Facebook, Inc. and its affiliates.
33
#
44
# This source code is licensed under the MIT license found in the

test/optim/test_initializers.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#! /usr/bin/env python3
1+
#!/usr/bin/env python3
22
# Copyright (c) Facebook, Inc. and its affiliates.
33
#
44
# This source code is licensed under the MIT license found in the

test/optim/test_numpy_converter.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#! /usr/bin/env python3
1+
#!/usr/bin/env python3
22
# Copyright (c) Facebook, Inc. and its affiliates.
33
#
44
# This source code is licensed under the MIT license found in the

test/optim/test_parameter_constraints.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#! /usr/bin/env python3
1+
#!/usr/bin/env python3
22
# Copyright (c) Facebook, Inc. and its affiliates.
33
#
44
# This source code is licensed under the MIT license found in the

test/optim/test_stopping.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#! /usr/bin/env python3
1+
#!/usr/bin/env python3
22
# Copyright (c) Facebook, Inc. and its affiliates.
33
#
44
# This source code is licensed under the MIT license found in the

test/optim/test_utils.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#! /usr/bin/env python3
1+
#!/usr/bin/env python3
22
# Copyright (c) Facebook, Inc. and its affiliates.
33
#
44
# This source code is licensed under the MIT license found in the

test/sampling/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#! /usr/bin/env python3
1+
#!/usr/bin/env python3
22
# Copyright (c) Facebook, Inc. and its affiliates.
33
#
44
# This source code is licensed under the MIT license found in the

test/sampling/test_pairwise_sampler.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#! /usr/bin/env python3
1+
#!/usr/bin/env python3
22
# Copyright (c) Facebook, Inc. and its affiliates.
33
#
44
# This source code is licensed under the MIT license found in the

test/sampling/test_sampler.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#! /usr/bin/env python3
1+
#!/usr/bin/env python3
22
# Copyright (c) Facebook, Inc. and its affiliates.
33
#
44
# This source code is licensed under the MIT license found in the

test/test_cross_validation.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#! /usr/bin/env python3
1+
#!/usr/bin/env python3
22
# Copyright (c) Facebook, Inc. and its affiliates.
33
#
44
# This source code is licensed under the MIT license found in the

test/test_cuda.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#! /usr/bin/env python3
1+
#!/usr/bin/env python3
22
# Copyright (c) Facebook, Inc. and its affiliates.
33
#
44
# This source code is licensed under the MIT license found in the

test/test_end_to_end.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#! /usr/bin/env python3
1+
#!/usr/bin/env python3
22
# Copyright (c) Facebook, Inc. and its affiliates.
33
#
44
# This source code is licensed under the MIT license found in the

test/test_fit.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#! /usr/bin/env python3
1+
#!/usr/bin/env python3
22
# Copyright (c) Facebook, Inc. and its affiliates.
33
#
44
# This source code is licensed under the MIT license found in the

test/test_functions/test_multi_fidelity.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#! /usr/bin/env python3
1+
#!/usr/bin/env python3
22
# Copyright (c) Facebook, Inc. and its affiliates.
33
#
44
# This source code is licensed under the MIT license found in the

test/test_functions/test_synthetic.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#! /usr/bin/env python3
1+
#!/usr/bin/env python3
22
# Copyright (c) Facebook, Inc. and its affiliates.
33
#
44
# This source code is licensed under the MIT license found in the

test/test_gen.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#! /usr/bin/env python3
1+
#!/usr/bin/env python3
22
# Copyright (c) Facebook, Inc. and its affiliates.
33
#
44
# This source code is licensed under the MIT license found in the

test/test_logging.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#! /usr/bin/env python3
1+
#!/usr/bin/env python3
22
# Copyright (c) Facebook, Inc. and its affiliates.
33
#
44
# This source code is licensed under the MIT license found in the

test/test_settings.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#! /usr/bin/env python3
1+
#!/usr/bin/env python3
22
# Copyright (c) Facebook, Inc. and its affiliates.
33
#
44
# This source code is licensed under the MIT license found in the

0 commit comments

Comments
 (0)