Remove periods from one-sentence comments
This commit is contained in:
parent
454c2898a0
commit
049a5f6f62
1 changed files with 308 additions and 308 deletions
|
|
@ -9,7 +9,7 @@ from tests import config as test_config
|
|||
from velofy.forecasts.methods import decomposition
|
||||
|
||||
|
||||
# The "periodic" `ns` suggested for the STL method.
|
||||
# The "periodic" `ns` suggested for the STL method
|
||||
NS = 999
|
||||
|
||||
|
||||
|
|
@ -66,7 +66,7 @@ class TestInvalidArguments:
|
|||
@pytest.mark.parametrize("nt", [-99, -1, 0, 1, 99, 125])
|
||||
def test_nt_not_at_least_the_default(self, vertical_no_demand, nt):
|
||||
"""`nt` must be odd and `>= default_nt`."""
|
||||
# `default_nt` becomes 161.
|
||||
# `default_nt` becomes 161
|
||||
default_nt = math.ceil(
|
||||
(1.5 * test_config.VERTICAL_FREQUENCY_LONG) / (1 - (1.5 / NS)),
|
||||
)
|
||||
|
|
@ -210,7 +210,7 @@ class TestValidArguments:
|
|||
assert list(result.columns) == ["seasonal", "trend", "residual"]
|
||||
|
||||
# Run the `stl()` function with all possible combinations of arguments,
|
||||
# including default ones and explicitly set non-default ones.
|
||||
# including default ones and explicitly set non-default ones
|
||||
@pytest.mark.parametrize("nt", [None, 163])
|
||||
@pytest.mark.parametrize("nl", [None, 777])
|
||||
@pytest.mark.parametrize("ds", [0, 1])
|
||||
|
|
|
|||
Loading…
Reference in a new issue