Skip to content

Commit

Permalink
fixed black in spatial
Browse files Browse the repository at this point in the history
  • Loading branch information
Schefflera-Arboricola committed Dec 30, 2024
1 parent 859fd50 commit a24fd2a
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 7 deletions.
3 changes: 2 additions & 1 deletion src/vector/_compute/spatial/costheta.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,10 @@
# or https://github.com/scikit-hep/vector for details.

"""
Property method `costheta` for the cosine theta coordinate of a spatial vector.
.. code-block:: python
@property
Spatial.costheta(self)
"""

Expand Down
3 changes: 2 additions & 1 deletion src/vector/_compute/spatial/cottheta.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,10 @@
# or https://github.com/scikit-hep/vector for details.

"""
Property method `cottheta` for the cotangent theta coordinate of a spatial vector.
.. code-block:: python
@property
Spatial.cottheta(self)
"""

Expand Down
3 changes: 2 additions & 1 deletion src/vector/_compute/spatial/eta.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,10 @@
# or https://github.com/scikit-hep/vector for details.

"""
Property method `eta` for the pseudorapidity of a spatial vector.
.. code-block:: python
@property
Spatial.eta(self)
"""

Expand Down
3 changes: 2 additions & 1 deletion src/vector/_compute/spatial/mag.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,10 @@
# or https://github.com/scikit-hep/vector for details.

"""
Property method `mag` for the magnitude of a spatial vector or an array of vectors.
.. code-block:: python
@property
Spatial.mag(self)
"""

Expand Down
3 changes: 2 additions & 1 deletion src/vector/_compute/spatial/mag2.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,10 @@
# or https://github.com/scikit-hep/vector for details.

"""
Property method `mag2` for the squared magnitude of a spatial vector.
.. code-block:: python
@property
Spatial.mag2(self)
"""

Expand Down
3 changes: 2 additions & 1 deletion src/vector/_compute/spatial/theta.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,10 @@
# or https://github.com/scikit-hep/vector for details.

"""
Property method `theta` for the polar angle of a spatial vector.
.. code-block:: python
@property
Spatial.theta(self)
"""

Expand Down
3 changes: 2 additions & 1 deletion src/vector/_compute/spatial/z.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,10 @@
# or https://github.com/scikit-hep/vector for details.

"""
Property method `z` for the z component of a spatial vector.
.. code-block:: python
@property
Spatial.z(self)
"""

Expand Down

0 comments on commit a24fd2a

Please sign in to comment.