-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathpyproject.toml
76 lines (67 loc) · 1.59 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
[build-system]
requires = ["setuptools>=74.0"]
build-backend = "setuptools.build_meta"
[project]
name = "cax"
version = "0.1.6"
dependencies = [
"numpy>=1.26.4",
"jax>=0.4.31",
"flax>=0.10.0",
"optax>=0.2.3",
"pillow>=10.4.0",
"requests>=2.32.3",
]
requires-python = ">=3.10"
authors = [
{ name="Maxence Faldor", email="[email protected]" },
]
description = "Cellular Automata Accelerated in JAX"
readme = "README.md"
license = {file = "LICENSE"}
keywords = ["cellular automata", "self-organization", "emergence"]
classifiers = [
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
[project.optional-dependencies]
dev = [
"pytest>=8.3.2",
"pytest-cov>=5.0.0",
"ruff>=0.6.4",
"mypy>=1.11.2",
]
examples = [
"numpy<2.0.0",
"datasets>=2.21.0",
"mediapy>=1.2.2",
]
[project.urls]
Homepage = "https://github.com/maxencefaldor/cax"
[tool.setuptools.packages.find]
where = ["."]
include = ["cax*"]
[tool.ruff]
src = ["cax", "tests"]
target-version = "py311"
line-length = 120
[tool.ruff.lint]
select = ["E", "D", "F", "I", "N", "SIM", "UP", "W"]
ignore = ["D203", "D206", "D213", "W191"]
[tool.ruff.format]
indent-style = "tab"
[tool.mypy]
python_version = "3.11"
disallow_untyped_defs = "True"
disallow_any_unimported = "True"
no_implicit_optional = "True"
check_untyped_defs = "True"
warn_return_any = "True"
show_error_codes = "True"
warn_unused_ignores = "True"
[[tool.mypy.overrides]]
module = ["requests.*"]
ignore_missing_imports = true