Skip to content

Commit 71cb37e

Browse files
committed
ruff formatted
1 parent dd17dc2 commit 71cb37e

6 files changed

Lines changed: 7 additions & 2 deletions

File tree

tests/test_1_smoketest.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
"""test suite for rtanalysis
2-
"""
1+
"""test suite for rtanalysis"""
2+
33
from rtanalysis.rtanalysis import RTAnalysis
44

55

tests/test_2_fit.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
- in this test, we will create a simulated dataset and fit
44
it, ensuring that the answers are correct
55
"""
6+
67
import numpy as np
78
from rtanalysis.generate_testdata import generate_test_df
89
from rtanalysis.rtanalysis import RTAnalysis

tests/test_3_type_fail.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
test for rtanalysis
33
- in this test, we will ensure that the function raises a ValueError
44
"""
5+
56
import pytest
67
from rtanalysis.generate_testdata import generate_test_df
78
from rtanalysis.rtanalysis import RTAnalysis

tests/test_3_type_success.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
test for rtanalysis
33
- in this test, we will ensure that the function raises a ValueError
44
"""
5+
56
import pytest
67
from rtanalysis.generate_testdata import generate_test_df
78
from rtanalysis.rtanalysis import RTAnalysis

tests/test_4_fixture.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
and use it across multiple tests
55
- we also create a separate fixture to hold the parameters
66
"""
7+
78
import numpy as np
89
import pytest
910
from rtanalysis.generate_testdata import generate_test_df

tests/test_5_parametric.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
and make sure that the function properly raises
55
and exception is accuracy is zero
66
"""
7+
78
import numpy as np
89
import pytest
910
from rtanalysis.generate_testdata import generate_test_df

0 commit comments

Comments
 (0)