[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"

[project]
name = "edwh-editorjs"
dynamic = ["version"]

description = "pyEditorJS"
readme = "README.md"
authors = [
    { name = "SKevo", email = "skevo.cw@gmail.com" },
    { name = "Robin van der Noord", email = "robin.vdn@educationwarehouse.nl" },
]
license = { text = "MIT" }
keywords = ["editor.js", "parser", "clean", "bleach", "wysiwyg", "editor", "javascript", "html", "json"]
classifiers = [
    "Development Status :: 4 - Beta",
    "Intended Audience :: Developers",
    "License :: OSI Approved :: MIT License",
    "Programming Language :: Python :: 3.10",
    "Programming Language :: Python :: 3.11",
    "Programming Language :: Python :: 3.12",
    "Programming Language :: Python :: 3.13",
]
requires-python = ">=3.10"

dependencies = [
    "bleach"
]

[project.optional-dependencies]
dev = [
    "edwh",
    "su6[all]",
    "hatch",
    "types-bleach",
]

[project.urls]
Homepage = "https://github.com/educationwarehouse/edwh-EditorJS"

[tool.semantic_release]
branch = "master"
version_variable = "pyeditorjs/__about__.py:__version__"
change_log = "CHANGELOG.md"
upload_to_repository = false
upload_to_release = false
build_command = "hatch build"

[tool.hatch.version]
path = "pyeditorjs/__about__.py"

[tool.hatch.build.targets.wheel]
packages = ["pyeditorjs"]


[tool.setuptools.packages.find]
include = ["pyeditorjs"]
exclude = ["tests"]

[tool.su6]
directory = "pyeditorjs"
stop-after-first-failure = true
