-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
40 lines (33 loc) · 1.17 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
[build-system]
build-backend = 'mesonpy'
requires = ['meson-python']
[project]
name = 'minpack_numba'
version = '0.1.0'
description = 'A numba compatible wrapper of modern minpack.'
readme = 'README.md'
license = {file = 'LICENSE'}
authors = [{name = 'Chris Ninham', email = '[email protected]'},]
dependencies = ['numba', 'numpy'] # TODO(nin17): Add version of numba & numpy required
[project.optional-dependencies]
tests = ['pytest', 'pytest-benchmark', 'scipy', 'NumbaMinpack']
dev = ['ruff',]
[tool.ruff]
line-length = 88
[tool.ruff.lint]
select = ['ALL']
ignore = ['TD003']
[tool.ruff.extend-per-file-ignores]
"dpmpar.py" = ['ANN001', 'ANN202', 'ARG001']
"hybrd.py" = ['ANN001', 'ANN202', 'ARG001', 'ARG005', 'PLR0913']
"hybrj.py" = ['ANN001', 'ANN202', 'ARG001', 'ARG005', 'PLR0913']
"lmder.py" = ['ANN001', 'ANN202', 'ARG001', 'ARG005', 'PLR0913']
"lmdif.py" = ['ANN001', 'ANN202', 'ARG001', 'ARG005', 'PLR0913']
"lmstr.py" = ['ANN001', 'ANN202', 'ARG001', 'ARG005', 'PLR0913']
"utils.py" = ['ANN001', 'ANN202', 'ARG001', 'D103']
[tool.pyright]
reportInvalidTypeForm = false
[tool.pytest.ini_options]
addopts = [
"--import-mode=importlib", "--ignore=minpack/"
]