-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
62 lines (47 loc) · 1.34 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
[project]
name = "pysap-fmri"
version = "0.0.0"
description = "Python Sparse data Analysis Package external fMRI plugin."
authors = [{name="Pierre-antoine Comby", email="[email protected]"}]
readme = "README.rst"
dependencies = ["modopt", "numpy", "tqdm", "joblib", "numba", "scipy", "pywavelets", "mri-nufft"]
[project.optional-dependencies]
test = ["pytest", "pytest-cov", "pytest-xdist", "pytest-sugar"]
doc = ["pydata-sphinx-theme", "numpydoc", "sphinx_gallery", "sphinx", "sphinx-autoapi"]
dev = ["black", "isort", "ruff"]
[build-system]
requires = ["setuptools", "wheel"]
######################
# Tool configuration #
######################
#linting using ruff
[tool.ruff]
extend-exclude = [ "example_*.py" ]
[tool.ruff.lint]
select = ["E", "F", "B", "Q", "UP", "D"]
ignore = [
"B905", #zip() without an explicit strict= parameter
"B028", #No explicit stacklevel keyword argument found
]
[tool.ruff.lint.pydocstyle]
convention="numpy"
[tool.coverage.run]
omit = ["*tests*"]
[tool.coverage.report]
precision = 2
exclude_lines = ["pragma: no cover", "raise NotImplementedError"]
# Formatting using black.
[tool.black]
[tool.isort]
profile = "black"
[tool.pytest.ini_options]
minversion = "6.0"
addopts = [
"--cov=denoiser",
"--cov-report=term-missing",
]
[tool.pylsp-mypy]
enabled = false
live_mode = false
[tool.mypy]
enabled = false