33 lines
763 B
TOML
33 lines
763 B
TOML
[project]
|
|
name = "lib-shared-models"
|
|
version = "0.1.1"
|
|
description = "Shared model(s) to validate against"
|
|
requires-python = ">=3.9"
|
|
dependencies = []
|
|
|
|
[build-system]
|
|
requires = ["setuptools>=61", "wheel"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[tool.setuptools.packages.find]
|
|
where = ["src"]
|
|
|
|
[tool.setuptools.package-data]
|
|
shared_models = ["py.typed"]
|
|
|
|
[tool.ruff]
|
|
line-length = 120
|
|
target-version = "py312"
|
|
[tool.ruff.lint]
|
|
select = [
|
|
"E", "F", # pycodestyle errors, pyflakes (unused imports/variables, undefined names)
|
|
"I", # import sorting (replaces isort)
|
|
"B", # bugbear: likely bugs
|
|
"ASYNC", # async mistakes
|
|
"RUF006", # un-referenced asyncio.create_task (tasks can be garbage-collected)
|
|
]
|
|
ignore = ["E501"]
|
|
|
|
[tool.ruff.format]
|
|
indent-style = "tab"
|