-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpyproject.toml
82 lines (70 loc) · 1.86 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
[build-system]
requires = ["flit_core >=3.4.0,<4"]
build-backend = "flit_core.buildapi"
[project]
name = "ffpiv"
authors = [
{ name = "Hessel Winsemius", email = "winsemius@rainbowsensing.com" },
]
packages = [
{ include = "ffpiv" }
]
dependencies = [
"numba",
"numpy>=1.23, <2", # pin version to ensure compatibility with C-headers
"pillow",
"pip",
"psutil",
"rocket-fft"
]
requires-python =">=3.9"
readme = "README.md"
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering :: Hydrology",
"Topic :: Scientific/Engineering :: Image Processing",
"License :: OSI Approved :: GNU Affero General Public License v3",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11"
]
dynamic = ['version', 'description']
[project.optional-dependencies]
extra = [
"matplotlib",
"notebook",
"pooch",
"tqdm"
]
test = [
"ffpiv[extra]",
"pytest",
"pytest-cov",
]
full = ["ffpiv[extra,test]"]
[project.urls]
Source = "https://github.com/localdevices/ffpiv"
[tool.flit.sdist]
include = ["ffpiv"]
[tool.flit.module]
name = "ffpiv"
[tool.pytest.ini_options]
addopts = "--ff "
testpaths = ["tests"]
filterwarnings = [
]
[tool.ruff]
line-length = 120
target-version = "py39"
exclude = ["docs"]
[tool.ruff.lint]
# enable pydocstyle (E), pyflake (F) and isort (I), pytest-style (PT), bugbear (B)
select = ["E", "F", "I", "PT", "D", "B", "ICN", "TID"]
ignore = ["D211", "D213", "D206", "E741", "D105", "D203", "E712", "B904"] # "E501" line length
[tool.ruff.lint.per-file-ignores]
"tests/**" = ["D100", "D101", "D102", "D103", "D104"]
"ffpiv/__init__.py" = ["E402", "F401", "F403"]
"tests/conftest.py" = ["E402"]