-
Notifications
You must be signed in to change notification settings - Fork 93
Expand file tree
/
Copy pathpyproject.toml
More file actions
43 lines (36 loc) · 888 Bytes
/
pyproject.toml
File metadata and controls
43 lines (36 loc) · 888 Bytes
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
[project]
name = "rednose"
requires-python = ">= 3.11"
version = "0.1.0"
dependencies = [
"sympy",
"numpy<2.0",
"scipy",
"tqdm",
"cffi",
"scons",
"Cython",
"setuptools",
]
[project.optional-dependencies]
dev = [
"ruff",
"pre-commit",
"pytest",
"pytest-xdist",
]
[build-system]
requires = ["setuptools", "scons", "Cython", "numpy<2.0", "sympy", "pytest", "cffi"]
build-backend = "setuptools.build_meta"
[tool.ruff]
line-length = 160
target-version="py311"
[tool.ruff.lint]
select = ["E", "F", "W", "PIE", "C4", "ISC", "RUF100", "A"]
ignore = ["W292", "E741", "E402", "C408", "ISC003"]
flake8-implicit-str-concat.allow-multiline=false
[tool.ruff.lint.flake8-tidy-imports.banned-api]
"pytest.main".msg = "pytest.main requires special handling that is easy to mess up!"
"unittest".msg = "Use pytest"
[tool.pytest.ini_options]
addopts = "--durations=10 -n auto"