-
Notifications
You must be signed in to change notification settings - Fork 11
/
pyproject.toml
95 lines (76 loc) · 1.99 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
[tool]
[tool.poetry]
name = "ep-stats"
version = "2.5.3"
homepage = "https://github.com/avast/ep-stats"
description = "Statistical package to evaluate ab tests in experimentation platform."
authors = [
"Ondra Zahradnik <ondra.zahradnik@gmail.com>",
"Jan Cervenka <jan.cervenka1@avast.com>",
"Jachym Solecky <jachym.solecky@avast.com>",
]
readme = "README.md"
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
packages = [
{include = "epstats", from="src"},
{ include = "tests", format = "sdist" }
]
include = [
{ path = "**/*.csv", format = ["sdist", "wheel"] },
{ path = "**/*.txt", format = ["sdist", "wheel"] },
]
[build-system]
requires = ["poetry-core>=1.7.0"]
build-backend = "poetry.core.masonry.api"
[[tool.poetry.source]]
name = "pypi"
priority = "primary"
[tool.poetry.scripts]
epstats = "epstats.main:main"
[tool.poetry.dependencies]
python = ">=3.9,<4"
pandas = "^2"
scipy = "^1"
pyparsing = "^3"
fastapi = "^0.111"
statsmodels = "^0.14"
prometheus-client = "^0.17"
pydantic = "^2"
pydantic-settings = "^2.2.1"
[tool.poetry.group.test.dependencies]
pytest = "^7"
httpx = "^0.27.0"
jinja2 = "^3.1.4"
[tool.poetry.group.dev.dependencies]
ruff = "^0.4"
mkdocs = "^1.6.0"
mkdocs-jupyter = "^0.24.7"
mkdocs-material = "^9.5.25"
mkdocs-material-extensions = "^1.3.1"
pygments = "^2.18.0"
pymdown-extensions = "^10.8.1"
pre-commit = "^3.7.1"
pip-tools = "^7.4.1"
twine = "^5.1.0"
mkdocstrings = {version = "^0.25.1", extras = ["python"]}
[tool.ruff]
line-length = 120
target-version = "py311"
[tool.ruff.lint]
select = ["W", "E4", "E7", "E9", "F", "I", "S", "PD"]
ignore = ["S101", "S110"]
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.ruff.lint.per-file-ignores]
[tool.pytest.ini_options]
testpaths = [
"tests",
]
addopts="--color=yes -s"