-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
121 lines (106 loc) · 2.78 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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
[build-system]
requires = ["setuptools>=62", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "image-cache-tester"
version = "0.0.dev1"
authors = [
{name = "Francesco Ballarin", email = "francesco.ballarin@unicatt.it"},
]
maintainers = [
{name = "Francesco Ballarin", email = "francesco.ballarin@unicatt.it"},
]
description = "Image cache testing for viskex"
license = {file = "LICENSE"}
requires-python = ">=3.9"
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Operating System :: POSIX",
"Operating System :: POSIX :: Linux",
"Operating System :: MacOS :: MacOS X",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering :: Mathematics",
"Topic :: Scientific/Engineering :: Visualization",
"Topic :: Software Development :: Libraries :: Python Modules"
]
dependencies = [
"nbvalx[notebooks,unit-tests]",
"pillow",
"pyvista[jupyter]"
]
[project.urls]
homepage = "https://viskex.github.io"
repository = "https://github.com/viskex/image_cache_tester"
issues = "https://github.com/viskex/image_cache_tester/issues"
funding = "https://github.com/sponsors/francesco-ballarin"
[project.optional-dependencies]
backend_dolfinx = [
"fenics-dolfinx"
]
backend_firedrake = [
"firedrake"
]
docs = [
"sphinx"
]
lint = [
"isort",
"mypy",
"nbqa",
"ruff",
"types-Pillow",
"yamllint"
]
tests = [
"coverage[toml]",
"screeninfo"
]
[tool.coverage.paths]
source = ["image_cache_tester", "*/dist-packages/image_cache_tester", "*/site-packages/image_cache_tester"]
[tool.isort]
line_length = 120
multi_line_output = 4
order_by_type = false
[tool.mypy]
check_untyped_defs = true
disallow_any_unimported = true
disallow_untyped_defs = true
implicit_reexport = true
no_implicit_optional = true
pretty = true
show_error_codes = true
strict = true
warn_return_any = true
warn_unused_ignores = true
[[tool.mypy.overrides]]
module = [
"dolfinx.*",
"firedrake",
"viskex"
]
ignore_missing_imports = true
[tool.pytest.ini_options]
[tool.ruff]
line-length = 120
[tool.ruff.lint]
select = ["ANN", "D", "E", "F", "FLY", "ICN", "N", "NPY", "Q", "RUF", "UP", "W"]
ignore = []
exclude = ["*.ipynb"]
[tool.ruff.lint.per-file-ignores]
"tests/notebooks/**/*.py" = ["D100"]
[tool.ruff.lint.pycodestyle]
max-doc-length = 120
[tool.ruff.lint.pydocstyle]
convention = "numpy"
[tool.setuptools.package-data]
viskex = ["py.typed"]
[tool.setuptools.packages.find]
namespaces = false