Skip to content

Commit d1314d9

Browse files
authored
Merge pull request #7 from PySATL/feature/pipelines
2 parents 6a5c64f + 7a0f0de commit d1314d9

34 files changed

+297
-192
lines changed

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ Solve the issue: #___
1414

1515
## What's new?
1616

17-
<!-- Explain in details what this PR solve or improve. You can include visuals. -->
17+
<!-- Explain in details what this PR solve or improve. You can include visuals. -->

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,4 +164,4 @@ cython_debug/
164164
execution_time/
165165
test_distribution/
166166
cache.json
167-
local_tests.py
167+
local_tests.py

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,4 +124,4 @@ Contributors may be given commit privileges. Preference will be given to those w
124124

125125
Being a Committer does not grant write permission on `main` or `release` for security reasons.
126126

127-
After being Committer for some time, a Committer may be named Core Committer and given full repository access.
127+
After being Committer for some time, a Committer may be named Core Committer and given full repository access.

docs/javascripts/config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ window.MathJax = {
99
ignoreHtmlClass: ".*|",
1010
processHtmlClass: "arithmatex"
1111
}
12-
};
12+
};

docs/stylesheets/ft.extra.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@
1414

1515
.md-version__list {
1616
font-weight: 500 !important;
17-
}
17+
}

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,4 +96,4 @@ exclude = [
9696
"S110", # `try`-`except`-`pass` detected, consider logging the exception
9797
]
9898

99-
# TODO: fill stub from official documentation
99+
# TODO: fill stub from official documentation

stattest/core/distribution/lo_con_norm.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
1+
from typing import List
2+
13
import numpy as np
24
from scipy.stats import norm
35

46

5-
def generate_lo_con_norm(size, p=0.5, a=0) -> [float]:
7+
def generate_lo_con_norm(size, p=0.5, a=0) -> List[float]:
68
"""
79
Consisting of randomly selected observations with probability 1 − p
810
drawn from a standard normal distribution and with probability p drawn from a

stattest/core/distribution/mix_con_norm.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
1+
from typing import List
2+
13
import numpy as np
24
from scipy.stats import norm
35

46

5-
def generate_mix_con_norm(size, p=0.5, a=0, b=1) -> [float]:
7+
def generate_mix_con_norm(size, p=0.5, a=0, b=1) -> List[float]:
68
"""
79
Consisting of randomly selected observations with probability 1 − p drawn from a standard
810
normal distribution and with probability p drawn from a normal distribution with mean a and

stattest/core/distribution/scale_con_norm.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
1+
from typing import List
2+
13
import numpy as np
24
from scipy.stats import norm
35

46

5-
def generate_scale_con_norm(size, p=0.5, b=0) -> [float]:
7+
def generate_scale_con_norm(size, p=0.5, b=0) -> List[float]:
68
"""
79
Consisting of randomly selected observations with probability 1 − p drawn from a standard
810
normal distribution and with probability p drawn from a normal distribution with mean 0 and

stattest/experiment/configuration/config_validation.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,10 @@ def set_defaults(validator, properties, instance, schema):
3131
FreqtradeValidator = _extend_validator(Draft4Validator)
3232

3333

34-
def validate_config_schema(conf: dict[str, Any], preliminagiry: bool = False) -> dict[str, Any]:
34+
def validate_config_schema(conf: dict[str, Any], preliminary: bool = False) -> dict[str, Any]:
3535
"""
3636
Validate the configuration follow the Config Schema
37+
:param preliminary: preliminary
3738
:param conf: Config in JSON format
3839
:return: Returns the config if valid, otherwise throw an exception
3940
"""

0 commit comments

Comments
 (0)