pyproject.toml (39 lines of code) (raw):
[project]
name = "monorepo"
version = "0.0.0"
description = "Mozilla tools for localization"
[tool.uv.workspace]
members = ["python"]
[tool.mypy]
exclude = "/(build|tests)/"
explicit_package_bases = true
mypy_path = "python"
strict = true
[[tool.mypy.overrides]]
module = "translate.storage.properties"
ignore_missing_imports = true
[tool.ruff.lint.isort]
extra-standard-library = ["importlib_resources"]
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"PLC", # pylint conventions
"PLE", # pyline errors
"RUF", # ruff-specific rules
]
ignore = [
"E501", # Line too long
]
[tool.uv]
dev-dependencies = [
"importlib-resources>=6.4.5",
"jsonschema>=4.23.0",
"mypy>=1.11.2",
"pytest>=8.3.3",
"ruff>=0.9.10",
"types-lxml>=2024.9.16",
"types-polib>=1.2.0.20240811",
]