generated from MinBZK/python-project-template
-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
68 lines (55 loc) · 1.26 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
[tool.poetry]
name = "example_datascience"
version = "0.1.0"
description = ""
authors = ["ai-validation-team <[email protected]>"]
readme = "README.md"
[tool.poetry.dependencies]
python = ">=3.11,<3.12"
kaleido = "0.2.1.post1"
pycaret = "^3.3.2"
pandas = "2.1.4"
kaggle = "^1.6.17"
xgboost = "^2.1.3"
catboost = "^1.2.7"
fairlearn = "^0.11.0"
matplotlib = "3.7.5"
aif360 = "^0.6.1"
evidently = "^0.4.40"
isort = "^5.13.2"
pre-commit = "4.0.1"
ruff = "0.8.0"
[tool.poetry.group.test.dependencies]
pytest = "^8.3.3"
coverage = "^7.6.8"
[tool.poetry.group.dev.dependencies]
ruff = "^0.8.0"
pre-commit = "^4.0.1"
pyright = "^1.1.389"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
# Ruff settings: https://docs.astral.sh/ruff/configuration/
[tool.ruff]
line-length = 120
target-version = "py311"
[tool.ruff.lint]
select = ["I", "SIM", "B", "UP", "F", "E"]
fixable = ["ALL"]
[tool.pyright]
pythonVersion = ">=3.11,<3.13"
typeCheckingMode = "strict"
reportMissingImports = true
reportMissingTypeStubs = true
[tool.coverage.run]
branch = true
command_line = "-m pytest ./tests"
[tool.coverage.report]
fail_under = 95
[tool.coverage.html]
directory = "htmlcov"
title = "example_datascience"
[tool.pytest.ini_options]
testpaths = [
"tests"
]