-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathpyproject.toml
More file actions
75 lines (66 loc) · 1.74 KB
/
pyproject.toml
File metadata and controls
75 lines (66 loc) · 1.74 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
# uv workspace configuration
[project]
license = "MIT"
name = "overture-schema-workspace"
requires-python = ">=3.10"
version = "0.0.0"
[tool.uv]
exclude-newer = "1 week"
[tool.uv.workspace]
members = ["packages/*"]
[tool.ruff]
line-length = 88
target-version = "py310"
[tool.ruff.lint]
ignore = [
"E501", # line too long
"B008", # do not perform function calls in argument defaults
"C901", # too complex
]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"UP", # pyupgrade,
"ANN", # flake8-annotations
]
[tool.ruff.lint.per-file-ignores]
"**/tests/*.py" = ["ANN401"]
"__init__.py" = ["F401"]
[tool.mypy]
disallow_untyped_defs = true
explicit_package_bases = true
files = "packages/**/*.py"
namespace_packages = true
plugins = ["pydantic.mypy"]
python_version = "3.10"
warn_return_any = true
warn_unused_configs = true
[dependency-groups]
dev = [
"mypy>=1.17.0",
"pdoc>=15.0.4",
"pydocstyle>=6.3.0",
"pytest>=8.4.1",
"pytest-cov>=7.0.0",
"ruff>=0.12.4",
]
[tool.pytest.ini_options]
verbosity_subtests = 0
pythonpath = [
"packages/overture-schema-addresses-theme/tests",
"packages/overture-schema-annex/tests",
"packages/overture-schema-base-theme/tests",
"packages/overture-schema-buildings-theme/tests",
"packages/overture-schema-cli/tests",
"packages/overture-schema-codegen/tests",
"packages/overture-schema-core/tests",
"packages/overture-schema-divisions-theme/tests",
"packages/overture-schema-places-theme/tests",
"packages/overture-schema-system/tests",
"packages/overture-schema-transportation-theme/tests",
"packages/overture-schema/tests",
]