-
Notifications
You must be signed in to change notification settings - Fork 5
/
pyproject.toml
45 lines (36 loc) · 963 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
[project]
name = "albam"
version = "0.3.6"
description = "Import 3d models into Blender"
readme = "README.md"
authors = [ {name = "Sebastian A. Brachi"} ]
requires-python = ">=3.10,<3.12"
license = {file = "LICENSE"}
keywords = ["blender", "blender-addon", "import", "3d models", "3d formats"]
dependencies = [
'bpy == 3.6.0; python_version == "3.10.*"',
'bpy == 4.1.0; python_version == "3.11.*"',
]
[project.optional-dependencies]
test = [
"coverage[toml]",
"flake8-pyproject",
"pytest",
"pytest-xdist",
"pytest-subtests"
# "pybc7",
# "zstd"
]
[tool.black]
line-length = 110
[tool.coverage.run]
omit = [ "*/structs/*.py", "*/albam_vendor/*" ]
[tool.flake8]
max-line-length = 110
exclude = ["structs", "albam_vendor", ".venv"]
# F722: needed for Blender props annotations
# e.g.:
# class MyPanel(bpy.types.Panel):
# my_prop : bpy.props.BoolProperty()
# W503 and W504 seem to contradict each other:w
ignore = ["E203", "F722", "W504"]