[tool.poetry]
name = "django-unfold"
version = "0.4.2"
description = "Clean & minimal Django admin theme based on Tailwind CSS"
license = "MIT"
readme = "README.md"
authors = []
homepage = "https://github.com/remastr/django-unfold"
repository = "https://github.com/remastr/django-unfold"
packages = [
    { include = "unfold", from = "src" },
]
keywords = [
    "django",
    "admin",
    "tailwind",
    "theme",
]
classifiers = [
    "Programming Language :: Python",
    "Programming Language :: Python :: 3.8",
    "Programming Language :: Python :: 3.9",
    "Operating System :: OS Independent",
    "Environment :: Web Environment",
    "Intended Audience :: Developers",
    "Framework :: Django",
]

[tool.black]
target-version = ["py38", "py39"]

[tool.ruff]
fix = true
line-length = 88
select = [
    "E",  # pycodestyle errors
    "W",  # pycodestyle warnings
    "F",  # pyflakes
    "I",  # isort
    "C",  # flake8-comprehensions
    "B",  # flake8-bugbear
]
ignore = [
    "E501",  # line too long, handled by black
    "B905",  # zip() without strict=True
    "C901",  # too complex
]

[tool.poetry.dependencies]
python = ">=3.8"
django = ">=3.2"

[build-system]
requires = ["poetry>=1.0"]
build-backend = "poetry.masonry.api"
