-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
91 lines (76 loc) · 2.17 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
80
81
82
83
84
85
86
87
88
89
90
91
[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "yax"
description = """
Yet Another X: JAX/FLAX module tracing, modification, and evaluation."""
license = {text = "Apache-2.0"}
authors = [
{name = "Daniel Bershatsky", email = "daniel.bershatsky@gmail.com"},
]
readme = {file = "README.md", content-type = "text/markdown"}
version = "0.0.0"
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Other Environment",
"Intended Audience :: Developers",
"Intended Audience :: Education",
"Intended Audience :: Information Technology",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering",
"Typing :: Typed",
]
dependencies = ["flax", "jax", "numpy"]
requires-python = ">=3.12,<4"
[project.optional-dependencies]
dev = ["isort", "pytest>=8.2", "ruff"]
serde = ["ytsaurus-client"]
test = ["transformers"]
[project.urls]
Homepage = "https://github.com/daskol/yax"
Repository = "https://github.com/daskol/yax.git"
[tool.isort]
combine_as_imports = true
known_first_party = ["yax"]
multi_line_output = 4
[tool.mypy]
no_implicit_optional = true
show_column_numbers = true
show_error_codes = true
show_error_context = false
warn_unused_ignores = true
plugins = ["numpy.typing.mypy_plugin"]
[tool.pytest.ini_options]
minversion = "8.2"
addopts = "-ra -q -m 'not slow' --no-header"
testpaths = ["tests"]
markers = [
"slow: slow tests (deselect with '-m \"not slow\"')",
"cuda: tests that requires CUDA",
]
filterwarnings = ["ignore::DeprecationWarning"]
[tool.ruff]
indent-width = 4
line-length = 79
extend-exclude = []
[tool.ruff.lint]
select = ["E", "F", "NPY", "PYI", "PTH"]
ignore = ["PTH123"]
preview = true
[tool.ruff.lint.flake8-quotes]
inline-quotes = "single"
[tool.ruff.lint.pycodestyle]
max-doc-length = 79
max-line-length = 79
[tool.setuptools]
zip-safe = true
py-modules = ["yax"]
[tool.yapf]
based_on_style = "pep8"