-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
80 lines (66 loc) · 1.51 KB
/
pyproject.toml
File metadata and controls
80 lines (66 loc) · 1.51 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
[project]
name = "wlsonar"
version = "0.5.1"
description = "Python client and Range Image Protocol utilities for Water Linked Sonar 3D-15."
readme = "README.md"
authors = [
{ name = "Water Linked" }
]
requires-python = ">=3.10"
dependencies = [
"protobuf>=6.33.2,<7",
"python-snappy>=0.7.3,<0.8",
"requests>=2.32.5,<3",
]
[project.urls]
Homepage = "https://www.waterlinked.com/3dsonar"
Repository = "https://github.com/waterlinked/wlsonar"
[build-system]
requires = ["uv_build>=0.9.22,<0.10.0"]
build-backend = "uv_build"
[tool.mypy]
warn_return_any = true
disallow_untyped_defs = true
[dependency-groups]
dev = [
"mypy>=1.19.1,<2",
"mypy-protobuf>=4.0.0,<5",
"pdbpp>=0.11.7,<0.12",
"pytest>=9.0.2,<10",
"ruff>=0.14.10,<0.15",
]
[[tool.mypy.overrides]]
module = ["requests.*", "snappy.*"]
follow_untyped_imports = true
[tool.ruff]
line-length = 100
exclude = [
"*_pb2.py",
"*_pb2.pyi",
]
[tool.ruff.format]
quote-style = "double"
line-ending = "auto"
[tool.ruff.lint]
select = [
"D", # pydocstyle
"F", # pyflakes
"E", # pycodestyle
"I", # isort
"ANN", # flake8 type annotations
"RUF", # ruff-specific rules
]
fixable = ["ALL"]
ignore = [
"D107", # undocumented-public-init
]
[tool.ruff.lint.per-file-ignores]
"tests/*.py" = ["D"]
"test_*.py" = ["D"]
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.pytest.ini_options]
markers = [
"e2e: end-to-end tests that require real sonar hardware. Skipped by default.",
]
addopts = "-m 'not e2e'"