Skip to content

Commit 7e93bba

Browse files
committed
Create pyproject.toml
1 parent fd79597 commit 7e93bba

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed

pyproject.toml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
[build-system]
2+
requires = ["setuptools>=68", "wheel"]
3+
build-backend = "setuptools.build_meta"
4+
5+
[project]
6+
name = "diabetes-dashboard"
7+
version = "0.1.0"
8+
description = "Flask dashboard for Diabetes Risk Prediction"
9+
readme = "README.md"
10+
requires-python = ">=3.10"
11+
12+
[tool.black]
13+
line-length = 100
14+
target-version = ["py310", "py311", "py312", "py313"]
15+
16+
[tool.isort]
17+
profile = "black"
18+
line_length = 100
19+
src_paths = ["src", "tests"]
20+
21+
[tool.ruff]
22+
line-length = 100
23+
target-version = "py310"
24+
select = ["E", "F", "W", "I"]
25+
# We keep imports at top, so no need to ignore E402 now.
26+
exclude = [
27+
".venv",
28+
"venv",
29+
"build",
30+
"dist",
31+
]
32+
33+
[tool.pytest.ini_options]
34+
testpaths = ["tests"]
35+
pythonpath = ["src"]
36+
addopts = "-q"
37+
filterwarnings = [
38+
"ignore::FutureWarning:sklearn.*",
39+
"ignore:.*errors='ignore'.*:FutureWarning",
40+
]

0 commit comments

Comments
 (0)