Skip to content

Commit 3c71ab6

Browse files
patricklabatutfacebook-github-bot
authored andcommitted
Remove shebang line when not strictly required
Summary: The shebang line `#!<path to interpreter>` is only required for Python scripts, so remove it on source files for class or function definitions. Additionally explicitly mark as executable the actual Python scripts in the codebase. Reviewed By: nikhilaravi Differential Revision: D20095778 fbshipit-source-id: d312599fba485e978a243292f88a180d71e1b55a
1 parent d01e722 commit 3c71ab6

File tree

86 files changed

+0
-82
lines changed

Some content is hidden

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

86 files changed

+0
-82
lines changed

.circleci/regenerate.py

100644100755
File mode changed.

docs/tutorials/utils/camera_visualisation.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#!/usr/bin/env python3
21
# Copyright (c) Facebook, Inc. and its affiliates. All rights reserved.
32

43
import matplotlib.pyplot as plt

docs/tutorials/utils/plot_image_grid.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#!/usr/bin/env python3
21
# Copyright (c) Facebook, Inc. and its affiliates. All rights reserved.
32

43
import matplotlib.pyplot as plt

pytorch3d/io/obj_io.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#!/usr/bin/env python3
21
# Copyright (c) Facebook, Inc. and its affiliates. All rights reserved.
32

43

pytorch3d/io/ply_io.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#!/usr/bin/env python3
21
# Copyright (c) Facebook, Inc. and its affiliates. All rights reserved.
32
# This source code is licensed under the license found in the
43
# LICENSE file in the root directory of this source tree.

pytorch3d/loss/chamfer.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#!/usr/bin/env python3
21
# Copyright (c) Facebook, Inc. and its affiliates. All rights reserved.
32

43
import torch

pytorch3d/loss/mesh_edge_loss.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#!/usr/bin/env python3
21
# Copyright (c) Facebook, Inc. and its affiliates. All rights reserved.
32

43
import torch

pytorch3d/loss/mesh_laplacian_smoothing.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#!/usr/bin/env python3
21
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
32

43

pytorch3d/loss/mesh_normal_consistency.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#!/usr/bin/env python3
21
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
32

43

pytorch3d/ops/cubify.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#!/usr/bin/env python3
21
# Copyright (c) Facebook, Inc. and its affiliates. All rights reserved.
32

43

0 commit comments

Comments
 (0)