Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#103)
Browse files Browse the repository at this point in the history
* [pre-commit.ci] pre-commit autoupdate

updates:
- [github.com/psf/black: 23.12.1 → 24.1.1](psf/black@23.12.1...24.1.1)

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
pre-commit-ci[bot] committed Jan 29, 2024
1 parent d820056 commit 77db154
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Expand Up @@ -15,6 +15,6 @@ repos:
additional_dependencies: [toml]

- repo: https://github.com/psf/black
rev: "23.12.1"
rev: "24.1.1"
hooks:
- id: black
6 changes: 3 additions & 3 deletions src/exoplanet_core/jax/ops.py
Expand Up @@ -317,9 +317,9 @@ def _quad_solution_vector_batch(args, axes):
quad_solution_vector_prim
] = _quad_solution_vector_gpu_translation_rule
ad.primitive_jvps[quad_solution_vector_prim] = _quad_solution_vector_jvp
batching.primitive_batchers[
quad_solution_vector_prim
] = _quad_solution_vector_batch
batching.primitive_batchers[quad_solution_vector_prim] = (
_quad_solution_vector_batch
)


# ******************
Expand Down
2 changes: 2 additions & 0 deletions src/exoplanet_core/pymc/ops.py
Expand Up @@ -57,6 +57,7 @@ class Kepler(op.Op):
(cos(f), sin(f)): The cosine and sine of the true anomaly ``f``.
"""

__props__ = ()

def make_node(self, M, ecc):
Expand Down Expand Up @@ -133,6 +134,7 @@ class QuadSolutionVector(op.Op):
of ``b`` or ``r``.
"""

__props__ = ()

def make_node(self, b, r):
Expand Down
2 changes: 2 additions & 0 deletions src/exoplanet_core/pymc3/ops.py
Expand Up @@ -57,6 +57,7 @@ class Kepler(op.Op):
(cos(f), sin(f)): The cosine and sine of the true anomaly ``f``.
"""

__props__ = ()

def make_node(self, M, ecc):
Expand Down Expand Up @@ -129,6 +130,7 @@ class QuadSolutionVector(op.Op):
of ``b`` or ``r``.
"""

__props__ = ()

def make_node(self, b, r):
Expand Down

0 comments on commit 77db154

Please sign in to comment.