-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
88 lines (74 loc) · 1.82 KB
/
pyproject.toml
File metadata and controls
88 lines (74 loc) · 1.82 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
[build-system]
requires = ["setuptools", "setuptools-scm"]
build-backend = "setuptools.build_meta"
[project]
name = "blaxbird"
description = "A high-level API for building and training Flax NNX models."
authors = [{name = "Simon Dirmeier", email = "simd@mailbox.org"}]
readme = "README.md"
license = {file = "LICENSE"}
keywords = []
classifiers = [
"Development Status :: 1 - Planning",
"Intended Audience :: Science/Research",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
requires-python = ">=3.10"
dependencies = [
"einops>=0.8.1",
"jax-ai-stack",
"ml-collections>=1.1.0",
]
dynamic = ["version"]
[project.optional-dependencies]
all = []
[dependency-groups]
dev = [
"gitlint",
"jupyter",
"pre-commit",
"pytest>=7.2.0",
"pytest-cov>=4.0.0",
"ruff",
"wandb>=0.21.1",
]
examples = [
"tensorflow-datasets==4.9.6",
"tensorflow==2.17.1",
"protobuf==3.20.3",
"matplotlib==3.1.0",
"wandb>=0.21.1",
]
[project.urls]
Homepage = "https://github.com/dirmeier/blaxbird"
[tool.setuptools]
packages = ["blaxbird"]
[tool.setuptools.dynamic]
version = {attr = "blaxbird.__init__.__version__"}
[tool.bandit]
skips = ["B101", "B310"]
[tool.mypy]
show_error_codes = true
no_implicit_optional = true
[tool.pytest.ini_options]
addopts = "-v --doctest-modules --cov=./blaxbird --cov-report=xml"
testpaths = [
"blaxbird"
]
[tool.ruff]
indent-width = 2
line-length = 80
[tool.ruff.lint]
select = ["D", "E", "F", "W", "I001"]
extend-select = [
"UP", "I", "PL", "S"
]
ignore = ["S101", "ANN101", "PLR2044", "PLR0913"]
exclude = ["*_test.py", "docs/**", "examples/**"]
[tool.ruff.lint.pydocstyle]
convention= 'google'
[tool.uv]
upgrade-package = ["jax-ai-stack"]