Skip to content

Commit

Permalink
Merge pull request #8 from sradc/dev
Browse files Browse the repository at this point in the history
from __future__ import annotations
  • Loading branch information
sradc authored Mar 23, 2022
2 parents 51688e0 + 5a31e50 commit 3e5059d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions smallpebble/numerical_gradients.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
"""Numerical gradients, used for debugging and tests.
Computed using finite differences.
"""
from __future__ import annotations

from typing import Callable

import smallpebble.array_library as np
Expand Down
2 changes: 2 additions & 0 deletions smallpebble/tests/test_smallpebble.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
"""Tests for SmallPebble.
Check results, and derivatives against numerical derivatives.
"""
from __future__ import annotations

from typing import Callable

import pytest
Expand Down

0 comments on commit 3e5059d

Please sign in to comment.