-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
62 lines (52 loc) · 1.48 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
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[project]
name = "inox"
description = "Stainless neural networks in JAX"
authors = [
{name = "François Rozet", email = "[email protected]"}
]
classifiers = [
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
]
dynamic = ["dependencies", "version"]
keywords = ["jax", "pytree", "neural networks", "deep learning"]
readme = "README.md"
requires-python = ">=3.9"
[project.optional-dependencies]
dev = [
"pre-commit",
"pytest",
"ruff",
]
[project.urls]
documentation = "https://inox.readthedocs.io"
source = "https://github.com/francois-rozet/inox"
tracker = "https://github.com/francois-rozet/inox/issues"
[tool.ruff]
extend-include = ["*.ipynb"]
line-length = 99
[tool.ruff.lint]
extend-select = ["B", "I", "W"]
ignore = ["E731"]
preview = true
[tool.ruff.lint.extend-per-file-ignores]
"__init__.py" = ["F401", "F403"]
"test_*.py" = ["F403", "F405"]
[tool.ruff.lint.isort]
lines-between-types = 1
relative-imports-order = "closest-to-furthest"
section-order = ["future", "third-party", "first-party", "local-folder"]
[tool.ruff.format]
preview = true
[tool.setuptools.dynamic]
dependencies = {file = "requirements.txt"}
version = {attr = "inox.__version__"}
[tool.setuptools.packages.find]
include = ["inox*"]