[project]
name = "pygitweb-workspace"
version = "0.0.0"
description = "Workspace root for postgit, pygittools, and pygitweb"
requires-python = ">=3.11"
dependencies = []

[dependency-groups]
dev = [
    "ruff",
    "pytest",
    "mypy>=1.20.1",
]

[tool.uv.workspace]
members = ["postgit", "pygittools", "pygitweb", "pygitweb_pytesthtml"]

[tool.uv]
package = false

[tool.ruff]
line-length = 120

[tool.ruff.format]
quote-style = "double"
indent-style = "tab"
docstring-code-format = true

[tool.ruff.lint]
select = [
    # pycodestyle
    "E",
    # Pyflakes
    "F",
    # pyupgrade
    "UP",
    # flake8-bugbear
    "B",
    # flake8-simplify
    "SIM",
    # isort
    "I",
]

[tool.mypy]
exclude = [
    ".*_test\\.py"
]