-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
51 lines (42 loc) · 1011 Bytes
/
Copy pathpyproject.toml
File metadata and controls
51 lines (42 loc) · 1011 Bytes
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
[project]
name = "gt-python"
version = "0.1.1"
description = "General Translation Python libraries"
readme = "README.md"
requires-python = ">=3.10"
[tool.uv]
package = false
[tool.uv.workspace]
members = ["packages/*", "examples/*"]
[dependency-groups]
dev = [
"pytest>=8.0.0",
"pytest-asyncio>=0.24.0",
"ruff>=0.9.0",
"mypy>=1.13.0",
"pyicumessageformat>=1.0.0",
"icu4py>=1.0.1",
]
[tool.ruff]
target-version = "py310"
line-length = 120
[tool.ruff.lint]
select = ["E", "F", "I", "N", "W", "UP"]
[tool.ruff.lint.per-file-ignores]
"**/tests/**" = ["E501"]
[tool.basedpyright]
typeCheckingMode = "standard"
pythonVersion = "3.10"
exclude = ["examples/"]
[tool.mypy]
python_version = "3.10"
warn_return_any = false
warn_unused_configs = true
disallow_untyped_defs = true
exclude = ["examples/"]
[tool.pytest.ini_options]
testpaths = ["packages", "examples"]
python_files = ["test_*.py"]
python_functions = ["test_*"]
addopts = "--import-mode=importlib"
norecursedirs = ["scripts"]