-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
82 lines (70 loc) · 1.37 KB
/
pyproject.toml
File metadata and controls
82 lines (70 loc) · 1.37 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
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
[project]
name = "hiring-confinqa"
version = "0.1.0"
description = "ConfinQA assignment data processing and assessment"
readme = "README.md"
requires-python = ">=3.9"
dependencies = [
"typer==0.12.0",
"click==8.1.7",
"dotenv>=0.9.9",
"pandas>=2.2.3",
"pydantic>=2.11.4",
"ruff>=0.11.10",
"mypy>=1.15.0",
"pylit>=0.8.0",
"rich>=15.0.0",
"anthropic>=0.96.0",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src"]
[project.scripts]
main = "src.main:app"
[tool.ruff]
fix = true
unsafe-fixes = false
[tool.ruff.lint]
select = [
"F", # default Ruff rules
"E", # pycodestyle Errors
"W", # pycodestyle Warnings
"I", # import sorting
"UP", # modern syntax updates
"B", # flake8 common pitfalls & best practices
"Q", # flake8 consistent quotes
"N", # naming conventions,
]
ignore = [
"B008",
"D413",
"E501",
"W293",
"W291",
"PLR2004",
"D101",
"D400",
]
fixable = ["ALL"]
extend-select = [
"PLR2004",
"D101",
"D102",
"D103",
"D201",
"D202",
"D215",
"T201",
]
[tool.mypy]
disallow_any_generics = true
disallow_untyped_defs = true
disallow_untyped_globals = true
ignore_missing_imports = true
show_error_codes = true
strict = false
warn_return_any = true
plugins = ['pydantic.mypy']
packages = ["src"]