Skip to content

Commit 6476f56

Browse files
committed
remove shebangs in .py files
1 parent acdb366 commit 6476f56

File tree

3 files changed

+3
-12
lines changed

3 files changed

+3
-12
lines changed

src/packagename/__init__.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1 @@
1-
#!/usr/bin/env python3
2-
# coding=utf-8
3-
# __init__.py is required to mark the directory as a Python module
1+
"""Required to mark the directory as a Python package."""

src/packagename/operations.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,10 @@
1-
#!/usr/bin/env python3
2-
# coding=utf-8
3-
4-
51
def addition(x, y):
6-
"""Compute ``x + y``, i.e., the result of the addition
2+
"""Compute the addition ``x + y``.
73
84
.. math::
95
:label: eq:my-addition
106
11-
x + y
7+
x + y.
128
139
Args:
1410
x (number): First number

tests/test_addition.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
#!/usr/bin/env python3
2-
# coding=utf-8
3-
41
import pytest
52

63
from packagename.operations import addition

0 commit comments

Comments
 (0)