-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
107 lines (95 loc) · 2.42 KB
/
pyproject.toml
File metadata and controls
107 lines (95 loc) · 2.42 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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
[project]
name = "edvise"
version = "0.1.12"
description = "School-agnostic lib for implementing Student Success Tool workflows."
readme = "README.md"
requires-python = ">=3.10,<3.13"
dependencies = [
"databricks-connect~=16.0",
"databricks-sdk~=0.38.0",
"faker==33.1.0",
"google-cloud-storage==2.19.0",
"ipywidgets~=8.1",
"matplotlib~=3.7",
"missingno==0.5.2",
"mlflow~=2.22",
"numpy==1.26.4",
"pandas==2.2.3",
"pandera~=0.23.0",
"pyarrow~=16.0",
"pydantic~=2.10",
"pyyaml~=6.0",
"types-PyYAML~=6.0",
"scikit-learn==1.5.2",
"seaborn~=0.13",
"statsmodels~=0.14",
"shap~=0.46.0",
"tomli==2.2.1; python_version<'3.11'",
"weasyprint~=60.2",
"pydyf~=0.8.0",
"markdown~=3.5",
"types-markdown~=3.8",
"h2o==3.46.0.7",
"polars~=0.20",
"tomlkit==0.13.3",
"requests==2.32.5",
]
[project.urls]
Repository = "https://github.com/datakind/edvise"
[dependency-groups]
dev = [
"ipykernel~=6.29",
"jupyterlab~=4.2",
"mypy~=1.11",
"pytest~=8.3",
"ruff~=0.9",
"types-requests==2.32.4.20250913",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.uv]
default-groups = ["dev"]
[tool.ruff]
line-length = 88
indent-width = 4
target-version = "py310"
extend-exclude = [
"*.ipynb", # TODO: don't exclude ipynbs
]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
[tool.ruff.lint]
select = ["E4", "E7", "E9", "F"] # TODO: add "D1" and "D2" for docstring checks
ignore = [
"E402", # module-level import not at top of cell
"E501", # line-length violation
"E711", # None comparison (common in pandas code)
"E712", # True/False comparison (common in pandas code)
]
[tool.ruff.lint.per-file-ignores]
# ignore import violations in all init files
"__init__.py" = ["E402", "F401"]
[tool.ruff.lint.isort]
lines-after-imports = 1
[tool.pytest.ini_options]
minversion = "8.0"
addopts = ["--verbose", "--import-mode=importlib"]
filterwarnings = ["ignore::DeprecationWarning"]
testpaths = ["tests"]
[tool.mypy]
files = ["src"]
mypy_path = "src"
python_version = "3.10"
pretty = true
allow_redefinition = true
warn_return_any = true
disallow_incomplete_defs = true
ignore_missing_imports = true
follow_imports = "silent"
# in case of irreconcilable differences, consider telling mypy to ignore all errors
# ignore_errors = true
[[tool.mypy.overrides]]
module = "paramiko"
ignore_missing_imports = true