-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
54 lines (48 loc) · 1.07 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
[project]
name = "rov-24"
# I know Ben hates this but this required lol
version = "1.2.0"
dependencies = [
'setuptools',
'flake8==7.1.0',
'mypy >= 1.7',
'pynput',
'pyqt6',
'pyqtgraph',
'pyqtdarktheme',
'opencv-python>=4.8.1',
'numpy < 2.0.0',
'pytest-qt',
'pytest-xvfb',
'TCA9555@git+https://github.com/InvincibleRMC/TCA9555',
'bluerobotics-tsys01@git+https://github.com/bluerobotics/tsys01-python',
'pymavlink',
'mavproxy'
]
[tool]
line-length = 100
[tool.pydocstyle]
convention = "numpy"
add-ignore=[
"D100",
"D101",
"D102",
"D103",
"D104",
"D105",
"D106",
"D107"
]
[tool.mypy]
strict = true
# Done becuase tons of python packages are missing stubs or py.typed markers
ignore_missing_imports = true
# Done because some calls insides rclpy are not typed
disallow_untyped_calls = false
# Done because rclpy Node has type Any
disallow_subclassing_any = false
[tool.pytest.ini_options]
qt_api = "pyqt6"
[tool.pylintrc]
disable = ["duplicate-code", "fixme"]
extension-pkg-whitelist = ["PyQt6", "cv2"]