Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
111 lines (97 loc) · 2.59 KB
/
Copy pathpyproject.toml
File metadata and controls
111 lines (97 loc) · 2.59 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
108
109
110
111
[project]
name = "queue-shift"
version = "0.1.0"
description = "Update routing classifiers under a queue-movement budget"
readme = "README.md"
license = "MIT"
license-files = ["LICENSE"]
authors = [{ name = "Gaurav Sood", email = "gsood07@gmail.com" }]
requires-python = ">=3.11"
keywords = [
"classification",
"model updates",
"operations research",
"queue assignment",
"staffing",
]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Science/Research",
"Programming Language :: Python :: 3",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
]
dependencies = [
"numpy>=2.0",
"scipy>=1.13",
]
[project.optional-dependencies]
experiments = [
"matplotlib>=3.9",
"pandas>=2.2",
"scikit-learn>=1.5",
]
[project.urls]
Homepage = "https://github.com/finite-sample/queue-shift"
Issues = "https://github.com/finite-sample/queue-shift/issues"
Repository = "https://github.com/finite-sample/queue-shift"
[build-system]
requires = ["uv_build>=0.12.5,<0.13"]
build-backend = "uv_build"
[tool.uv.build-backend]
module-name = "queue_shift"
[dependency-groups]
dev = [
"pre-commit>=4",
"pypdf>=5",
"pyright>=1.1.390",
"ruff>=0.16.1",
{ include-group = "test" },
]
test = [
"matplotlib>=3.9",
"pandas>=2.2",
"pytest>=8",
"pytest-cov>=6",
"scikit-learn>=1.5",
]
[tool.ruff]
line-length = 88
target-version = "py311"
[tool.ruff.lint]
external = ["DOC"]
select = [
"E", "W", "F", "I", "B", "C4", "UP", "N", "D", "S", "SIM", "T20", "PT", "RUF",
"PTH", "RET", "PIE", "FURB", "PERF", "DTZ", "LOG", "G", "TC", "FLY",
"RSE", "SLOT", "FA", "A", "EXE", "ICN", "PGH", "PLE", "ARG", "SLF",
]
ignore = ["D203", "D213", "W191", "D206", "D300"]
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.ruff.lint.per-file-ignores]
"tests/**" = ["S101", "D", "ARG", "SLF"]
"experiments/**" = ["T201"]
"experiments/tests/**" = ["S101", "D", "ARG", "SLF"]
"experiments/analyze_*.py" = ["E501"]
[tool.pyright]
include = ["src"]
typeCheckingMode = "standard"
[tool.pydoclint]
exclude = '\.venv|tests|docs|experiments'
style = "google"
arg-type-hints-in-docstring = false
check-return-types = false
check-class-attributes = false
allow-init-docstring = true
[tool.pytest.ini_options]
minversion = "8"
log_level = "INFO"
xfail_strict = true
addopts = "-ra --strict-config --strict-markers"
filterwarnings = ["error"]
pythonpath = ["."]
testpaths = ["tests", "experiments/tests"]
[tool.coverage.run]
source = ["src"]
[tool.preen]
# Custom research workflows are maintained here rather than generated by Copier.
skip_checks = ["template"]