-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpyproject.toml
More file actions
75 lines (63 loc) · 1.5 KB
/
pyproject.toml
File metadata and controls
75 lines (63 loc) · 1.5 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
[build-system]
requires = ["setuptools>=45", "wheel", "setuptools_scm[toml]>=6.2"]
build-backend = "setuptools.build_meta"
[project]
name = "pynode"
dynamic = ["version"]
description = "Python based Node-RED-like visual workflow system"
readme = "README.md"
requires-python = ">=3.8"
dependencies = [
"flask",
"numpy",
"opencv-python",
]
[project.scripts]
pynode = "pynode.main:main"
[project.optional-dependencies]
dev = [
"opencv-stubs",
"types-flask",
]
[tool.pyright]
# Type checking configuration
typeCheckingMode = "basic"
reportMissingImports = true
reportMissingTypeStubs = false
reportAttributeAccessIssue = "none" # Suppress OpenCV attribute warnings
reportUnknownMemberType = "none"
reportUnknownArgumentType = "none"
reportUnknownVariableType = "none"
reportOptionalMemberAccess = "warning"
reportOptionalSubscript = "warning"
# Python version
pythonVersion = "3.11"
pythonPlatform = "Windows"
# Include/exclude paths
include = ["pynode"]
exclude = [
"**/__pycache__",
"**/node_modules",
"**/.venv",
"**/venv",
"_backup",
]
[tool.pylint]
max-line-length = 120
disable = [
"C0111", # missing-docstring
"C0103", # invalid-name
"R0913", # too-many-arguments
"R0914", # too-many-locals
]
[tool.ruff]
line-length = 120
target-version = "py311"
[tool.ruff.lint]
select = ["E", "F", "W", "I"]
ignore = ["E501"] # Line too long
[tool.black]
line-length = 120
target-version = ["py311"]
[tool.setuptools.dynamic]
version = {attr = "pynode._version.__version__"}