-
Notifications
You must be signed in to change notification settings - Fork 54
/
pyproject.toml
97 lines (87 loc) · 2 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
[build-system]
requires = ["setuptools>=42", "wheel", "setuptools-git-versioning"]
build-backend = "setuptools.build_meta"
[tool.setuptools]
include-package-data = true
packages = ["tomophantom",
"tomophantom.ctypes",
"tomophantom.supp",
]
[tool.setuptools-git-versioning]
enabled = true
template = "{tag}"
dev_template = "{tag}"
[project]
name = "tomophantom"
description = "Tomography Phantom Data generator"
readme = "README.rst"
license = {text = "BSD-3-Clause"}
authors = [
{name = "Daniil Kazantsev", email = "daniil.kazantsev@diamond.ac.uk"},
{name = "Edoardo Pasca", email = "edoardo.pasca@stfc.ac.uk"},
]
classifiers = [
"Development Status :: 4 - Beta",
"License :: OSI Approved :: BSD 3-clause",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.9",
]
requires-python = ">=3.9"
dynamic = ["version"]
dependencies = [
"numpy",
"scipy",
"pillow",
"scikit-image"
]
[project.optional-dependencies]
dev = [
"pytest",
"pytest-cov",
"pytest-xdist",
"flake8",
"pyproject-flake8",
"pydocstyle",
"toml",
"imageio",
"setuptools-git-versioning",
]
[project.urls]
"Repository" = "https://github.com/dkazanc/TomoPhantom"
[tool.mypy]
# Ignore missing stubs for modules we use
ignore_missing_imports = true
[tool.isort]
profile = "black"
float_to_top = true
[tool.flake8]
# Make flake8 respect black's line length (default 88),
max-line-length = 88
extend-ignore = [
"E203",
"F811"
]
per-file-ignores = [
"*pyi:E302"
]
[tool.pydocstyle]
convention = "google"
add-ignore = [
"D100", # Ignore missing docstrings in public modules
"D104", # Ignore missing docstrings in public packages
"D418", # Ignore missing docstrings in dunder methods; See: https://github.com/PyCQA/pydocstyle/issues/525
]
[tool.pytest.ini_options]
minversion = "6.0"
addopts = [
"-vv",
"-ra",
"-q",
"--tb=native",
]
testpaths = [
"tests",
]
filterwarnings = [
"ignore::ImportWarning"
]