Skip to content

Commit

Permalink
Merge pull request #23 from ssciwr/pre-commit-ci-update-config
Browse files Browse the repository at this point in the history
[pre-commit.ci] pre-commit autoupdate
  • Loading branch information
dokempf authored Feb 22, 2024
2 parents d7cc978 + 1ac9d54 commit 3f32681
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@

repos:
- repo: https://github.com/kynan/nbstripout
rev: 0.6.1
rev: 0.7.1
hooks:
- id: nbstripout
files: ".ipynb"
- repo: https://github.com/psf/black
rev: 23.12.1
rev: 24.2.0
hooks:
- id: black
4 changes: 1 addition & 3 deletions src/mypackage/test_transform.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,7 @@
import pytest


@pytest.mark.parametrize(
"myinput, myref", [(1, np.pi), (0, 0), (2.1, np.pi * 2.1**2)]
)
@pytest.mark.parametrize("myinput, myref", [(1, np.pi), (0, 0), (2.1, np.pi * 2.1**2)])
def test_area_circ(myinput, myref):
assert tf.area_circ(myinput) == myref

Expand Down

0 comments on commit 3f32681

Please sign in to comment.