Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ install:
cp -r quickbake/* $(INSTALL_DIR)/

run: install
blender
blender "example/Metal Box.blend"

checks: lint test

Expand Down
16 changes: 6 additions & 10 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,14 +1,9 @@
[project]
name = "quickbake"
version = "0.1.0"
description = "Fast baking for blender"
readme = "README.md"
authors = [{ name = "Thomas Harrison", email = "theharrisoncrafter@gmail.com" }]
version = "0.9.0"
description = "Python environment for testing and linting plugin code"
requires-python = ">=3.12"
dependencies = []

[dependency-groups]
dev = [
dependencies = [
"coverage>=7.13.2",
"fake-bpy-module>=20260128",
"pytest>=9.0.2",
Expand All @@ -18,10 +13,11 @@ dev = [

[tool.ruff.lint]
extend-select = ["I"]
ignore = ["F401"]
ignore = ["F401", "I001"]

[tool.ruff.format]
quote-style = "single"
# bpy specifies this https://docs.blender.org/api/current/info_best_practice.html#style-conventions
quote-style = "double"

[tool.pytest.ini_options]
pythonpath = ["src"]
Expand Down
18 changes: 9 additions & 9 deletions quickbake/__init__.py
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
import bpy

from .op import QuickBake_OT_bake
from .panel import QuickBake_PT_main
from .op import RENDER_OT_bake
from .panel import RENDER_PT_main
from .properties import QuickBakeToolPropertyGroup


def register():
bpy.utils.register_class(QuickBake_OT_bake)
bpy.utils.register_class(QuickBake_PT_main)
bpy.utils.register_class(RENDER_OT_bake)
bpy.utils.register_class(RENDER_PT_main)
bpy.utils.register_class(QuickBakeToolPropertyGroup)
bpy.types.Scene.QuickBakeToolPropertyGroup = bpy.props.PointerProperty(
bpy.types.Scene.QuickBakeToolPropertyGroup = bpy.props.PointerProperty( # type: ignore
type=QuickBakeToolPropertyGroup
)


def unregister():
bpy.utils.unregister_class(QuickBake_OT_bake)
bpy.utils.unregister_class(QuickBake_PT_main)
bpy.utils.unregister_class(RENDER_OT_bake)
bpy.utils.unregister_class(RENDER_PT_main)
bpy.utils.unregister_class(QuickBakeToolPropertyGroup)
del bpy.types.Scene.QuickBakeToolPropertyGroup
del bpy.types.Scene.QuickBakeToolPropertyGroup # type: ignore


if __name__ == '__main__':
if __name__ == "__main__":
register()
96 changes: 0 additions & 96 deletions quickbake/bake.py

This file was deleted.

72 changes: 0 additions & 72 deletions quickbake/material.py

This file was deleted.

Loading