-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
113 lines (98 loc) · 2.33 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
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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
[project]
name = "gurlon"
version = "0.3.0"
description = "Transform unstructured DynamoDB data into local SQL tables."
readme = "README.md"
license = "MIT"
authors = [
{ name = "Zach Fuller", email = "[email protected]" }
]
requires-python = ">=3.12"
dependencies = [
"boto3>=1.35.68",
"duckdb>=1.1.3",
"dynamodb-json>=1.4.2",
"orjson>=3.10.12",
"pydantic>=2.10.1",
"sqlmodel>=0.0.22",
"structlog>=24.4.0",
]
[project.scripts]
gurlon = "gurlon:main"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[dependency-groups]
dev = [
"boto3-stubs[essential]>=1.35.68",
"faker>=33.0.0",
"moto[dynamodb,s3]>=5.0.21",
"mypy[faster-cache]>=1.13.0",
"polyfactory>=2.18.1",
"pre-commit>=4.0.1",
"pytest-sugar>=1.0.0",
"pytest>=8.3.3",
"ruff>=0.8.0",
"pytest-socket>=0.7.0",
"rich>=13.9.4",
"pytest-cov>=6.0.0",
]
docs = [
"mkdocs-glightbox>=0.4.0",
"mkdocs-material>=9.5.47",
]
[tool.uv]
python-preference = "system"
python-downloads = "automatic"
default-groups = ["dev", "docs"]
[tool.uv.pip]
strict = true
[tool.ruff]
line-length = 120
indent-width = 4
target-version = "py312"
[tool.ruff.lint]
select = ["E", "F", "W", "C90", "I", "N", "UP", "ASYNC", "S", "B", "ERA", "PLE", "PLW", "PERF", "RUF", "PT"]
ignore = ["E501", "S101"]
# Allow fix for all enabled rules (when `--fix`) is provided.
fixable = ["ALL"]
unfixable = []
# Allow unused variables when underscore-prefixed.
dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"
[tool.pytest.ini_options]
pythonpath = "src"
addopts = [
"--import-mode=importlib",
"--disable-socket",
"--color=yes",
"--cov=src/gurlon",
]
markers = [
"no_mock_export_pitr: Disable mock export PITR autouse fixture",
]
[tool.pyright]
include = ["src", "tests"]
exclude = ["**/node_modules",
"**/__pycache__",
"typings",
"**/.venv",
".venv"
]
typeCheckingMode = "standard"
reportMissingImports = "error"
reportMissingTypeStubs = true
[tool.mypy]
strict = true
exclude = "typings"
[tool.commitizen]
name = "cz_conventional_commits"
tag_format = "v$version"
version_scheme = "pep440"
version_provider = "pep621"
update_changelog_on_bump = true
major_version_zero = true