-
-
Notifications
You must be signed in to change notification settings - Fork 26
/
pyproject.toml
116 lines (109 loc) · 3.49 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
[tool.poetry]
name = "tsflex"
version = "0.4.1" # Do not forget to update the __init__.py __version__ variable
description = "Toolkit for flexible processing & feature extraction on time-series data"
authors = ["Jonas Van Der Donckt, Jeroen Van Der Donckt, Emiel Deprost"]
readme = "README.md"
license = "MIT"
repository = "https://github.com/predict-idlab/tsflex"
documentation = "https://predict-idlab.github.io/tsflex"
keywords = ["time-series", "processing", "feature-extraction", "data-science", "machine learning"]
[tool.poetry.dependencies]
python = ">=3.8,<3.13"
pandas = [
{ version = ">=1", python = "<3.12" },
{ version = ">=2", python = ">=3.12"},
]
numpy = [
{ version = ">=1.22", python = ">=3.8,<3.11"},
{ version = ">=1.24", python = ">=3.11"}
]
tqdm = "^4.62.3"
multiprocess = [
{ version = "^0.70.12", python = "<3.8" },
{ version = "^0.70.16", python = ">=3.8" },
]
dill = [
{ version = "^0.3.4", python = "<3.8" },
{ version = "^0.3.8", python = ">=3.8" },
]
[tool.poetry.dev-dependencies]
pydocstyle = "^5.1.1"
Sphinx = "^3.5.2"
jupyterlab = "^3.2.9"
memory-profiler = "^0.61.0"
pytest = "^7.4.4"
pytest-cov = "^4.1.0"
pytest-benchmark = "^4.0.0"
pytest-codspeed = "^2.2"
pdoc3 = "^0.9.2"
scipy = [
{ version = "^1.7.3", python = "<3.11" },
{ version = ">=1.9", python = ">=3.11" }, # Change to >= 1.8 once this is fixed https://github.com/fraunhoferportugal/tsfel/issues/123
]
numba = [
{ version = ">=0.57", python = ">=3.8,<3.9" },
{ version = ">=0.59", python = ">=3.9" },
]
seglearn = "^1.2.3"
tsfresh = "^0.20.0"
# necessary to support Python 3.12
statsmodels = ">=0.14"
tsfel = ">=0.1.5"
gspread = ">=5.13"
pyarrow = ">=15"
# Temporarily skip Windows to avoid install error
pycatch22 = { version = ">=0.4", markers = "sys_platform != 'win32'" }
antropy = ">=0.1.6"
nolds = "^0.5.2"
pyentrp = "^0.8.2"
# necessary to switch scikit-learn (as this is a dependency of tsfresh and seglearn)
scikit-learn = [
{ version = "<1.1.3", python = "<3.11" },
{ version = ">=1.1.3", python = ">=3.11" },
]
# Linting
ruff = "^0.4.1"
black = "^22.12.0"
mypy = ">=1.5"
[tool.ruff]
line-length = 88
lint.select = ["E", "F", "I"]
lint.ignore = ["E501"] # Never enforce `E501` (line length violations).
[tool.ruff.lint.per-file-ignores]
"tests/test_features_feature_collection.py" = ["F401", "F811"]
"tests/test_features_func_wrapper.py" = ["F401", "F811"]
"tests/test_features_integration.py" = ["F401", "F811"]
"tests/test_features_logging.py" = ["F401", "F811"]
"tests/test_features_utils.py" = ["F401", "F811"]
"tests/test_processing_logging.py" = ["F401", "F811"]
"tests/test_processing_series_pipeline.py" = ["F401", "F811"]
"tests/test_processing_series_processor.py" = ["F401", "F811"]
"tests/test_processing_utils.py" = ["F401", "F811"]
"tests/test_strided_rolling.py" = ["F401", "F811"]
"tests/test_stroll_factory.py" = ["F401", "F811"]
"tests/test_utils.py" = ["F401", "F811"]
# Testing
[tool.pytest.ini_options]
addopts = "--cov=tsflex --cov-report=term-missing --benchmark-disable"
testpaths = "tests/"
# Formatting
[tool.black]
color = false
line-length = 88
# Static typing
[tool.mypy]
follow_imports = "normal"
strict_optional = true
warn_redundant_casts = true
warn_unused_ignores = true
check_untyped_defs = true
no_implicit_reexport = true
disallow_untyped_defs = true
# disallow_any_generics = false
ignore_missing_imports = true
# allow_redefinition = true
disable_error_code = "name-defined"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"