-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
63 lines (53 loc) · 1.5 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
[build-system]
requires = ["setuptools>=58.0.0"]
build-backend = "setuptools.build_meta"
[project]
name = "hydrax"
description= "A jax implementation for training models in parallel with different slices of data from a larger dataset."
readme = "README.md"
requires-python = ">=3.10.0"
authors = [{ name = "Clark Saben", email = "csaben@mail.umw.edu"}]
keywords = []
classifiers = [
"Development Status :: 1 - Research",
"Environment :: Console",
"Operating System :: Linux, MacOS",
"Programming Language :: Python :: 3.10",
]
urls = { code = "https://github.com/csaben/hydrax" }
dependencies = ["jaxlib", "equinox", "optax"]
dynamic = ["version"]
[tool.setuptools.dynamic]
version = { file = "src/hydrax/VERSION.txt" }
[project.optional-dependencies]
dev = ["pytest", "ruff", "black", "flake8", "mypy"]
cuda= ["jax[cuda11_pip]"]
cpu = ["jax[cpu]"]
[tool.setuptools]
zip-safe = true
include-package-data = true
[tool.isort]
profile = "black"
src_paths = ["src", "tests"]
known_first_party = ["hydrax"]
[tool.mypy]
disallow_untyped_calls = true
disallow_untyped_imports = true
disallow_untyped_defs = true
disallow_any_generics = true
no_implicit_optional = true
strict_equality = true
warn_redundant_casts = true
warn_return_any = true
check_untyped_defs = true
show_error_codes = true
namespace_packages = true
explicit_package_bases = true
[tool.ruff]
select = ["B", "C90", "E", "F", "W"]
ignore = ["E501"]
line-length = 88
[tool.ruff.isort]
known_first_party = ["hydrax"]
[tool.ruff.mccabe]
max-complexity = 18