-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
79 lines (64 loc) · 1.37 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
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
[build-system]
requires = ["pdm-backend"]
build-backend = "pdm.backend"
[project]
name = "fenix"
readme = "README.md"
description = ""
authors = [{ name = "Nathan Lugg", email = "[email protected]" }]
license = { text = "MIT" }
dynamic = ["version"]
requires-python = ">=3.11"
dependencies = [
"numpy>=1.25.2",
"torch>=2.1.2",
"pyarrow>=15.0.0",
"xxhash>=3.4.1",
"fsspec>=2023.12.2",
"pydantic>=2.5.3",
"tqdm>=4.66.1",
"typer>=0.9.0",
]
[tool.pdm.dev-dependencies]
dev = [
"mypy>=1.6.1",
"ruff>=0.1.6",
"isort>=5.12.0",
"black>=23.10.0",
"pytest>=7.4.4",
"jupyterlab>=4.0.7",
"duckdb>=0.9.2",
"pylance>=0.9.9",
]
[tool.pdm]
version = { source = "file", path = "src/fenix/__version__.py" }
[tool.pdm.build]
package-dir = "src"
[tool.black]
line-length = 99
[tool.isort]
profile = "black"
force_sort_within_sections = true
include_trailing_comma = true
group_by_package = true
line_length = 99
[tool.ruff]
line-length = 99
select = ["E", "F", "B"]
ignore = ["E501", "E741", "B905"]
unfixable = ["B"]
[tool.ruff.per-file-ignores]
"__init__.py" = ["E402", "F401"]
[tool.ruff.mccabe]
max-complexity = 5
[tool.mypy]
ignore_missing_imports = true
[tool.pytest.ini_options]
filterwarnings = [
"error",
"ignore::UserWarning",
]
markers = [
"slow: marks tests as slow (deselect with '-m \"not slow\"')",
"serial",
]