-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
106 lines (87 loc) · 2.09 KB
/
pyproject.toml
File metadata and controls
106 lines (87 loc) · 2.09 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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "gooddata-export"
version = "1.8.1"
description = "Export GoodData workspace metadata to SQLite and CSV"
readme = "README.md"
license = {text = "MIT"}
authors = [
{name = "Vlastimil Vondra"}
]
requires-python = ">=3.14"
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Topic :: Database",
"Programming Language :: Python :: 3.14",
]
dependencies = [
"python-dotenv>=1.2.1",
"requests>=2.32.5",
"pyyaml>=6.0.3",
]
[project.optional-dependencies]
dev = [
"ruff>=0.15.0",
"pytest>=9.0.2",
]
[project.scripts]
gooddata-export = "gooddata_export.cli:main"
[project.urls]
Repository = "https://github.com/vondravl/gooddata-export"
[tool.setuptools.packages.find]
where = ["."]
include = ["gooddata_export*"]
[tool.setuptools.package-data]
gooddata_export = [
"py.typed",
"sql/*.yaml",
"sql/*.md",
"sql/tables/*.sql",
"sql/views/*.sql",
"sql/updates/*.sql",
"sql/procedures/*.sql",
]
[tool.uv]
package = true
[tool.ruff]
# Target Python 3.14+
target-version = "py314"
# Exclude directories
exclude = [
".git",
".ruff_cache",
".venv",
"venv",
"__pycache__",
"build",
"dist",
]
# Line length (default is 88, matching Black)
line-length = 88
[tool.ruff.format]
# Use double quotes for strings
quote-style = "double"
# Use spaces for indentation
indent-style = "space"
# Respect magic trailing commas
skip-magic-trailing-comma = false
# Format docstrings
docstring-code-format = true
[tool.ruff.lint]
# Enable pycodestyle (`E`) and Pyflakes (`F`) codes by default
select = ["E", "F", "W", "I"]
# Ignore line length for strings, comments, and docstrings
ignore = ["E501"]
# Allow autofix for all enabled rules
fixable = ["ALL"]
unfixable = []
# Allow unused variables when underscore-prefixed
dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
python_functions = ["test_*"]
addopts = "-v --tb=short"