-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
69 lines (59 loc) · 1.43 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
[tool.poetry]
name = "gripa"
version = "0.1.3"
description = "Time series anomaly detection"
authors = ["hamiddimyati <[email protected]>"]
license = "MIT license"
readme = "README.md"
homepage = "https://gripa.readthedocs.io/en/latest/"
repository = "https://github.com/hamiddimyati/gripa"
[tool.poetry.dependencies]
python = ">=3.9,<3.12"
numpy = "^1.25.0"
pandas = "^2.0.2"
scikit-learn = "^1.2.2"
scipy = "^1.10.1"
[tool.poetry.group.dev.dependencies]
pre-commit = "^3.3.3"
pytest = "^7.3.2"
pytest-cov = "^4.1.0"
pytest-xdist = "^3.3.1"
pytest-black = "^0.3.12"
pytest-isort = "^3.1.0"
pytest-mypy = "^0.10.3"
pytest-ruff = "^0.1"
pandas-stubs = "^2.0.2.230605"
[tool.poetry.group.doc.dependencies]
mkdocs-material = "^9.1.17"
[tool.ruff]
line-length = 88
src = ["gripa"]
show-fixes = true
show-source = true
[tool.black]
skip-string-normalization = true
[tool.isort]
profile = "black"
multi_line_output = 3
include_trailing_comma = true
[[tool.mypy.overrides]]
module = [
"numpy.*",
"pandas.*",
"pandas.testing.*",
"scipy.*",
"sklearn.*",
]
ignore_missing_imports = true
[tool.pytest.ini_options]
addopts = "-rxX --black --ruff --isort --mypy --cov-report term-missing --cov=gripa --color=yes -v -s -n auto"
testpaths = [
"tests",
"gripa",
]
log_cli = true
log_cli_level = "WARNING"
log_cli_date_format = "%Y-%m-%d %H:%M:%S"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"