-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
57 lines (49 loc) · 1.01 KB
/
Copy pathpyproject.toml
File metadata and controls
57 lines (49 loc) · 1.01 KB
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
[build-system]
requires = ["setuptools>=68", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "draftcode"
version = "0.1.0"
description = "NBA draft prediction agent for AWS DraftCode hackathon."
readme = "README.md"
requires-python = ">=3.11,<3.13"
dependencies = [
"rich>=13.7",
"typer>=0.12",
]
[project.optional-dependencies]
app = [
"fastapi>=0.111",
"pandas>=2.2",
"streamlit>=1.36",
"uvicorn>=0.30",
]
aws = [
"boto3>=1.34",
"pydantic>=2.7",
]
official = [
"openpyxl>=3.1",
]
dev = [
"pytest>=8.2",
]
quality = [
"ruff>=0.5",
"mypy>=1.10",
]
[project.scripts]
draftcode = "draftcode.cli:main"
[tool.setuptools.packages.find]
where = ["src"]
[tool.ruff]
line-length = 100
target-version = "py311"
[tool.ruff.lint]
select = ["E", "F", "I", "UP", "B", "C4", "SIM"]
[tool.ruff.lint.per-file-ignores]
# typer commands intentionally pass typer.Option(...) as parameter defaults.
"src/draftcode/cli.py" = ["B008"]
[tool.pytest.ini_options]
testpaths = ["tests"]
pythonpath = ["src"]