-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
65 lines (57 loc) · 1005 Bytes
/
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
[tool.ruff]
# enable all and disable a few via ignore below
select = ["ALL"]
extend-ignore = [
"BLE",
"COM",
"EM",
"FBT",
"INP",
"PTH",
"S",
"T20",
"UP",
"A003",
"ANN101",
"ANN102",
"ANN401",
"D105",
"D107",
"D205",
"D212",
"G004",
"I001",
"N806",
"PTH123",
"TRY003",
"TRY400",
]
target-version = "py38"
[tool.ruff.pydocstyle]
convention = "google"
[tool.ruff.per-file-ignores]
"*.pyi" = ["ALL"]
"__init__.py" = ["F401"] # unused imports
"tests/*" = ["D", "ANN", "PLR2004"]
"scripts/*" = ["D"]
"examples/*" = ["D"]
[[tool.mypy.overrides]]
# ignore errors in modules with *.pyi file.
module = [
"pam_vicon.o80",
]
ignore_errors = true
[[tool.mypy.overrides]]
module = [
"o80",
"scipy.*",
"signal_handler",
"spatial_transformation",
"tennicam_client",
"vicon_transformer.*",
]
ignore_missing_imports = true
[tool.pytest.ini_options]
addopts = [
"--import-mode=importlib",
]