-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
46 lines (33 loc) · 839 Bytes
/
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
[project]
name = "nmbx"
version = "0.0.2"
authors = [
{name = "Steve Schmerler", email = "git@elcorto.com"}
]
##requires-python = ">=3.10"
dependencies = [
"numpy",
"scipy",
]
[project.optional-dependencies]
test = ["pytest"]
dev = ["pre-commit"]
examples = [ "matplotlib", "optuna"]
[tool.black]
line-length = 79
[tool.ruff]
line-length = 79
lint.ignore = [
"E731", # Do not assign a lambda expression, use a def
]
[tool.mypy]
ignore_missing_imports = true
implicit_optional = true
# Declare that package source is in src/. Prevent mypy from complaining that
# examples/convergence.py and src/nmbx/convergence.py have the same name. My
# god, that tool is picky!
explicit_package_bases = true
mypy_path = "./src"
[build-system]
requires = ["setuptools>=66.1", "wheel"]
build-backend = "setuptools.build_meta"