-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
49 lines (41 loc) · 1.08 KB
/
pyproject.toml
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
[build-system]
requires = ["flit_core >=3.2,<4"]
build-backend = "flit_core.buildapi"
[project]
name = "tune_nix_eval"
version = "0.1.0"
authors = [{ name = "Connor Baker", email = "[email protected]" }]
requires-python = ">=3.13"
license = { text = "BSD-3-Clause" }
description = "Tune Nix expression evaluation"
dependencies = [
"gunicorn",
"optuna-dashboard",
"optuna",
"psutil",
"pydantic",
"rich",
"scipy", # for optuna's Wilcoxon pruner
]
[project.optional-dependencies]
dev = ["ruff"]
[project.scripts]
tune-nix-eval = "tune_nix_eval.cmd:main.main"
[project.urls]
Homepage = "https://github.com/ConnorBaker/tune-nix-eval"
[tool.ruff]
line-length = 120
[tool.ruff.format]
preview = true
[tool.ruff.lint]
preview = true
select = ["F", "E", "W", "I", "PL", "FURB", "LOG", "RUF", "G", "TID"]
ignore = [
"PLR0913", # Ignore functions with many arguments (I like currying)
"PLR0911", # Ignore functions with many return arguments (match statements)
]
[tool.pyright]
include = ["./tune_nix_eval"]
pythonVersion = "3.13"
pythonPlatform = "Linux"
typeCheckingMode = "strict"