-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathpyproject.toml
More file actions
53 lines (47 loc) · 1.17 KB
/
pyproject.toml
File metadata and controls
53 lines (47 loc) · 1.17 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
[build-system]
requires = ["uv_build"]
build-backend = "uv_build"
[project]
name = "dy-sql"
description = "Dynamically runs SQL queries and executions."
readme = "README.rst"
requires-python = ">=3.9"
license = {text = "MIT"}
authors = [
{name = "Adobe", email = "noreply@adobe.com"}
]
urls = { "Homepage" = "https://github.com/adobe/dy-sql" }
version = "3.2"
dependencies = [
# SQLAlchemy 2+ is not yet supported
"sqlalchemy<2",
# now using features only found in pydantic 2+
"pydantic>=2",
]
[dependency-groups]
dev = [
"pytest>=6.2.4",
"pytest-randomly>=3.10.1",
"pytest-cov>=2.12.1",
"ruff>=0.12.7",
"ruff-lsp>=0.0.45",
"pre-commit>=3.6",
"docker>=7",
]
[tool.uv.build-backend]
module-name = "dysql"
module-root = ""
source-exclude = ["dysql/test"]
wheel-exclude = ["dysql/test"]
[tool.ruff.lint]
# Enable the copyright rule
preview = true
extend-select = ["CPY"]
[tool.ruff.lint.flake8-copyright]
min-file-size = 200
notice-rgx = '''"""
Copyright [(2)\d{3}]* Adobe
All Rights Reserved.
NOTICE: Adobe permits you to use, modify, and distribute this file in accordance
with the terms of the Adobe license agreement accompanying it.
"""'''