-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
92 lines (82 loc) · 1.76 KB
/
pyproject.toml
File metadata and controls
92 lines (82 loc) · 1.76 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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
[project]
name = "vector-editor"
version = "0.1.0"
description = "Simple vector editor"
readme = "README.md"
authors = [
{ name = "script-logic", email = "dev.scriptlogic@gmail.com" }
]
requires-python = ">=3.14"
dependencies = [
"click>=8.1.0",
"orjson>=3.11.7",
"pydantic>=2.12.0",
"pydantic-settings>=2.12.0",
"structlog>=25.5.0",
]
[dependency-groups]
dev = [
"ty>=0.0.21",
"ruff>=0.4.8",
"pre-commit>=4.5.1",
"pytest>=8.3.0",
"pytest-cov>=5.0.0",
"pytest-mock>=3.14.0",
]
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[tool.setuptools.packages.find]
where = ["src"]
include = ["vector_editor*"]
[project.scripts]
vector-editor = "main:main"
[tool.ruff]
src = ["src"]
target-version = "py314"
line-length = 79
exclude = ["__pycache__/", ".git/", "*.pyc", "build/", "dist/"]
format.indent-style = "space"
format.skip-magic-trailing-comma = false
format.quote-style = "double"
preview = true
[tool.ruff.lint]
ignore = ["RUF001"]
[tool.ruff.lint.isort]
known-first-party = ["vector_editor"]
[tool.pytest.ini_options]
pythonpath = ["."]
testpaths = ["tests"]
python_files = ["test_*.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
addopts = [
"--strict-markers",
"--strict-config",
"--tb=short",
"--cov=src",
"--cov-report=term-missing",
"--cov-report=html",
]
markers = [
"unit: unit tests",
]
[tool.coverage.run]
source = ["vector_editor"]
omit = [
"*/__pycache__/*",
"*/tests/*",
"*/logger/*",
"*/utils/*",
]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"def __repr__",
"if self.debug:",
"if __name__ == .__main__.:",
"raise AssertionError",
"raise NotImplementedError",
"if 0:",
"if False:",
]