-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
76 lines (59 loc) · 1.45 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
[project]
name = "batchix"
version = "0.0.0"
readme = "README.md"
license = {file = "LICENSE"}
dependencies = [
"jax>=0.4.0",
"jaxtyping>=0.2.20",
"flax"
]
[project.optional-dependencies]
dev = [
"pylint ~=2.14.0",
"yapf ~=0.32.0",
"pylint",
"coverage",
"ruff",
"pre-commit"
]
test = [
"pytest",
"pytest-cov ~=3.0.0",
]
[project.urls]
Repository = "https://github.com/JeyRunner/batchix"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build]
include = ["batchix/*"]
[tool.ruff]
extend-include = []
src = []
indent-width = 4
[tool.ruff.format]
# Like Black, indent with spaces, rather than tabs.
indent-style = "space"
# Like Black, respect magic trailing commas.
skip-magic-trailing-comma = false
# Like Black, automatically detect the appropriate line ending.
line-ending = "auto"
[tool.pylint]
max-line-length = 120
disable = [
"C0103", # (invalid-name)
"C0114", # (missing-module-docstring)
#"C0115", # (missing-class-docstring)
#"C0116", # (missing-function-docstring)
# "R0903", # (too-few-public-methods)
"R0913", # (too-many-arguments)
"W0105", # (pointless-string-statement)
]
[tool.yapf]
blank_line_before_nested_class_or_def = true
column_limit = 88
[tool.pytest.ini_options]
addopts = "--jaxtyping-packages=equinox,beartype.beartype(conf=beartype.BeartypeConf(strategy=beartype.BeartypeStrategy.On))"
[tool.pyright]
include = ["batchix", "tests"]