-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
67 lines (56 loc) · 1.58 KB
/
pyproject.toml
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
[project]
name = "py-libs"
version = "1.0.0+rc1"
requires-python = ">=3.10"
dependencies = [
"model-lib[toml]",
"zero-3rdparty",
]
[tool.uv]
package = false
[tool.uv.sources]
model-lib = { workspace = true }
zero-3rdparty = { workspace = true }
[tool.uv.workspace]
members = ["model-lib", "zero-3rdparty"]
exclude=['model_lib', 'docker_example', 'compose_chart_export', 'docker_compose_parser']
[tool.pytest.ini_options]
testpaths = ["model-lib/model_lib", "zero-3rdparty/zero_3rdparty"]
[tool.coverage.report]
omit = ["*_test.py"]
[tool.pyright]
include = ["model-lib", "zero-3rdparty"]
venvPath = ".venv"
exclude = [
"zero-3rdparty/zero_3rdparty/timeparse.py",
]
[tool.ruff]
line-length = 88
target-version="py311"
show-fixes=true
exclude=["_pants", "compose_chart_export", "docker_compose_parser", "docker_example"]
[tool.ruff.lint]
extend-ignore=[ "E501", "UP006", "UP007", "UP035", "UP017"]
extend-select = ['Q', 'RUF100', 'C90', 'UP', 'I', 'T']
flake8-quotes = {inline-quotes = 'double', multiline-quotes = 'double'}
isort = { known-first-party = ['tests'] }
[tool.ruff.lint.extend-per-file-ignores]
"model-lib/model_lib/__init__.py" = ["I001"]
"model-lib/model_lib/metadata/__init__.py" = ["I001"]
"scripts/*.py" = ["T201"]
[dependency-groups]
dev = [
"attrs>=24.3.0",
"pytest>=8.3.4",
"pytest-asyncio==0.15.1",
"pytest-cov==3.0.0",
"pytest-regressions==2.0.1",
"pytest-subtests==0.5.0",
"xdoctest==0.15.4",
"pyright>=1.1.392.post0",
"pytest-freezer>=0.4.9",
"ruff>=0.9.2",
"mkdocs-material>=9.5.50",
"pillow>=11.1.0",
"cairosvg>=2.7.1",
]