-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
107 lines (94 loc) · 3.15 KB
/
Copy pathpyproject.toml
File metadata and controls
107 lines (94 loc) · 3.15 KB
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
[project]
name = "gsp-vispy2"
version = "0.2.0"
description = "Backend-agnostic scene and protocol tools for scientific visualization."
authors = [
{name = "Jerome Etienne",email = "jerome.etienne@gmail.com"}
]
readme = "README.md"
requires-python = ">=3.13,<4.0"
dependencies = [
"numpy (>=2.3.4,<3.0.0)",
"matplotlib (>=3.10.7,<4.0.0)",
"pydantic (>=2.12.4,<3.0.0)",
"imageio (>=2.37.2,<3.0.0)",
"colorama (>=0.4.6,<0.5.0)",
"http-constants (>=0.5.0,<0.6.0)",
"flask (>=3.1.2,<4.0.0)",
"requests-file (>=3.0.1,<4.0.0)",
"loguru (>=0.7.3,<0.8.0)",
]
[project.optional-dependencies]
# Legacy Datoviz wrapper support is optional. Datoviz v0.4-dev is validated by
# local smoke tests and is not declared here until a compatible wheel exists.
datoviz-legacy = [
"datoviz (>=0.3.2,<0.4.0)",
]
[tool.poetry]
packages = [
{include = "gsp", from = "src"},
{include = "gsp_datoviz", from = "src"},
{include = "gsp_extra", from = "src"},
{include = "gsp_matplotlib", from = "src"},
{include = "gsp_network", from = "src"},
{include = "gsp_pydantic", from = "src"},
{include = "gsp_vispy2", from = "src"},
{include = "fixtures"},
]
include = [
{path = "fixtures/conformance/minimal_v0_1.json", format = ["sdist", "wheel"]},
{path = "fixtures/conformance/s020_security_negative.json", format = ["sdist", "wheel"]},
{path = "fixtures/conformance/s021_preconfigured_source.json", format = ["sdist", "wheel"]},
{path = "fixtures/conformance/s022_http_mock_array.json", format = ["sdist", "wheel"]},
]
[build-system]
requires = ["poetry-core>=2.0.0,<3.0.0"]
build-backend = "poetry.core.masonry.api"
[dependency-groups]
dev = [
"mypy (>=1.18.2,<2.0.0)",
"pytest (>=8.4.2,<9.0.0)",
"ruff (>=0.14.9,<0.15.0)",
"pyright (>=1.1.407,<2.0.0)",
"types-colorama (>=0.4.15,<0.5.0)",
"types-requests (>=2.32.4,<3.0.0)",
"scikit-image (>=0.25.2,<0.26.0)",
"mkdocs (>=1.6.1,<2.0.0)",
"mkdocs-material (>=9.7.0,<10.0.0)",
"mkdocstrings (>=1.0.0,<2.0.0)",
"mkdocstrings-python (>=2.0.1,<3.0.0)",
"pydoclint (>=0.8.3,<0.9.0)",
"pytest-cov>=7.1.0",
"mkdocs-redirects>=1.2,<2",
]
# Configuration for the Black code formatter
[tool.black]
line-length = 160 # to match the 79 character limit of PEP 8, but allow some extra space for longer lines
# # Configuration for Pydoclint - https://jsh9.github.io/pydoclint/
# [tool.pydoclint]
# style = 'numpy'
# check-style-mismatch = true
# allow-init-docstring = true
[tool.ruff]
extend-exclude = ["examples", "tmp", "tools"]
lint.select = ["D"]
lint.ignore = ["D100", "D101", "D102", "D103", "D104", "D105", "D106", "D107"]
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.mypy]
exclude = [
"src/gsp/utils/math_utils copy.*\\.py$",
"src/gsp/utils/math_utils_(new|original)\\.py$",
]
[[tool.mypy.overrides]]
module = ["datoviz", "datoviz.*"]
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = ["http_constants", "http_constants.*"]
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = ["meshio", "meshio.*"]
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = ["gsp_extra.mpl3d.*"]
ignore_errors = true