-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
54 lines (48 loc) · 1.23 KB
/
pyproject.toml
File metadata and controls
54 lines (48 loc) · 1.23 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
[project]
name = "stl-county-kpi"
version = "1.0.0"
description = "AI-powered government performance, workforce development, and service delivery tools for St. Louis County, MO"
readme = "README.md"
license = {text = "MIT"}
requires-python = ">=3.9"
# No runtime dependencies — standard library only
[project.optional-dependencies]
dev = [
"ruff",
"mypy",
"pytest",
]
[tool.ruff]
target-version = "py39"
line-length = 120
src = ["scripts"]
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"N", # pep8-naming
"UP", # pyupgrade
"B", # flake8-bugbear
"SIM", # flake8-simplify
]
ignore = [
"E501", # line length handled by formatter
"SIM108", # ternary operator — readability preference
]
[tool.ruff.lint.isort]
known-first-party = ["scripts"]
[tool.mypy]
python_version = "3.9"
warn_unused_configs = true
ignore_missing_imports = true
# Relax strict checks for existing code; tighten incrementally
check_untyped_defs = false
disallow_untyped_defs = false
warn_return_any = false
no_implicit_optional = false
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
python_functions = ["test_*"]