-
Notifications
You must be signed in to change notification settings - Fork 26
Expand file tree
/
Copy pathpyproject.toml
More file actions
71 lines (61 loc) · 1.57 KB
/
Copy pathpyproject.toml
File metadata and controls
71 lines (61 loc) · 1.57 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
[project]
name = "odil"
version = "0.1.8"
authors = [
{ name="Petr Karnakov", email="pkarnakov@gmail.com" },
{ name="Sergey Litvinov", email="slitvinov@gmail.com" },
]
description = "ODIL (Optimizing a DIscrete Loss) is a framework for solving inverse problems for differential equations"
readme = "README.md"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
license = {text = "MIT"}
requires-python = ">=3.12"
# Versions from Ubuntu 24.04 LTS.
# https://packages.ubuntu.com/search?suite=noble§ion=all&arch=any&keywords=python3-mypy&searchon=names
dependencies = [
"numpy>=1.26.4",
"psutil>=5.9.8",
"scipy>=1.11.4",
"matplotlib>=3.6.3",
]
[project.urls]
Homepage = "https://github.com/cselab/odil"
Issues = "https://github.com/cselab/odil/issues"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project.optional-dependencies]
tensorflow = ["tensorflow>=2.19.0"]
jax = ["jax[cuda13]>=0.7.0"]
[dependency-groups]
dev = [
"pytest>=7.4.4",
"ruff>=0.14.0",
"mypy>=1.18.2",
]
[tool.ruff]
line-length = 120
target-version = "py312"
[tool.ruff.lint]
select = [
"E", # Style errors
"W", # Style warnings
"F", # Logical errors
"I", # Import sorting
]
ignore = [
"E741", # Ambiguous variable name
]
[tool.ruff.format]
quote-style = "double"
[tool.mypy]
python_version = "3.12"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = true
disallow_incomplete_defs = true
ignore_missing_imports = true