dodil/erp-brick-time-off
DODIL ERP brick: time off
pyproject.toml
[project]
license = "Apache-2.0"
license-files = ["LICENSE"]
name = "brick-time-off"
version = "0.2.0"
description = "Holiday, sickness and family leave in one place: everyone sees what they have left, asks for days off in two clicks, and their manager approves with the team calendar in front of them. Bank holidays follow where people work, part-timers get their fair share, sickness is recorded with its fit notes, and payroll and timesheets see exactly the days that were approved."
requires-python = ">=3.10"
dependencies = ["erp-platform>=0.9.13,<0.10"]
[project.optional-dependencies]
test = ["pytest>=8", "uvicorn>=0.34"]
[build-system]
requires = ["setuptools>=77"]
build-backend = "setuptools.build_meta"
[tool.setuptools.packages.find]
where = ["src"]
# The schema, the migrations and the process ship INSIDE the package: an installed brick (how a composition
# gets it) must be able to migrate its own tables and show its own process.
[tool.setuptools.package-data]
brick_time_off = ["schema.sql", "migrations/*/*.sql", "application/process.yaml", "roles.yaml"]
[tool.pytest.ini_options]
testpaths = ["tests"]
pythonpath = ["src", "tests"]
addopts = "--show-capture=no"
[tool.ruff]
line-length = 160
target-version = "py310"
[tool.ruff.lint]
select = ["E4", "E7", "E9", "F", "I"]