-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
44 lines (37 loc) · 1.12 KB
/
pyproject.toml
File metadata and controls
44 lines (37 loc) · 1.12 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
[project]
name = "modular-tree"
version = "5.5.1"
requires-python = ">=3.11"
[dependency-groups]
dev = [
"pytest>=8.0",
"numpy>=1.24",
"fake-bpy-module-4-3>=20260128",
"pyright>=1.1",
]
[tool.ruff]
target-version = "py311"
line-length = 100
src = ["python_classes", "."]
exclude = ["m_tree/dependencies"]
[tool.ruff.lint]
select = ["E", "F", "I", "UP", "B", "SIM"]
ignore = ["E501"]
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401"]
"m_tree/python_bindings/__init__.py" = ["F403"]
[tool.ruff.format]
quote-style = "double"
# NOTE: pytest configuration is in tests/pytest.ini to avoid importing
# the root __init__.py (Blender addon entry point that imports bpy).
# Run tests with: cd tests && pytest unit -v
[tool.pyright]
pythonVersion = "3.11"
typeCheckingMode = "basic"
extraPaths = ["python_classes"]
exclude = ["m_tree/dependencies", "**/__pycache__"]
# Blender-specific relaxations - the property system and stubs have gaps
reportInvalidTypeForm = false
reportAttributeAccessIssue = "warning"
reportOptionalMemberAccess = "warning"
reportCallIssue = "warning" # NodeCategory/NodeItem stubs are incomplete