-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
124 lines (109 loc) · 3.55 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
114
115
116
117
118
119
120
121
122
123
124
[tool.poetry]
name = "turu"
version = "0.1.0"
description = "Simple Typed Python Database Client based PEP 249"
authors = ["yassun7010 <[email protected]>"]
readme = "README.md"
repository = "https://github.com/yassun7010/turu-py"
documentation = "https://yassun7010.github.io/turu-py/"
classifiers = [
"Development Status :: 4 - Beta",
"Topic :: Software Development :: Libraries",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: SQL",
"Topic :: Database",
"Topic :: Scientific/Engineering :: Information Analysis",
"Topic :: Software Development",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Libraries :: Application Frameworks",
"Topic :: Software Development :: Libraries :: Python Modules",
]
[tool.poetry.extras]
sqlite3 = ["turu-sqlite3"]
mysql = ["turu-mysql"]
postgres = ["turu-postgres"]
snowflake = ["turu-snowflake"]
bigquery = ["turu-bigquery"]
[tool.poetry.dependencies]
python = "^3.9"
[tool.poetry.dependencies.turu-core]
# INFO: poetry-dynamic-versioning to replace this.
path = "./turu-core"
develop = true
# version = "0.0.0"
[tool.poetry.dependencies.turu-sqlite3]
# INFO: poetry-dynamic-versioning to replace this.
path = "./turu-sqlite3"
develop = true
# version = "0.0.0"
optional = true
[tool.poetry.dependencies.turu-mysql]
# INFO: poetry-dynamic-versioning to replace this.
path = "./turu-mysql"
develop = true
# version = "0.0.0"
optional = true
[tool.poetry.dependencies.turu-postgres]
# INFO: poetry-dynamic-versioning to replace this.
path = "./turu-postgres"
develop = true
# version = "0.0.0"
optional = true
[tool.poetry.dependencies.turu-snowflake]
# INFO: poetry-dynamic-versioning to replace this.
path = "./turu-snowflake"
develop = true
# version = "0.0.0"
optional = true
[tool.poetry.dependencies.turu-bigquery]
# INFO: poetry-dynamic-versioning to replace this.
path = "./turu-bigquery"
develop = true
# version = "0.0.0"
optional = true
[tool.poetry.group.dev.dependencies]
pytest = ">=7.4.4,<9.0.0"
taskipy = "^1.12.0"
pyright = "1.1.345"
ruff = ">=0.3.5,<0.7.0"
pydantic = "^2.5.3"
pytest-cov = ">=4.1,<7.0"
pytest-asyncio = ">=0.23.3,<0.26.0"
pytest-xdist = "^3.5.0"
pandera = ">=0.18,<0.21"
typing-extensions = "^4.9.0"
[tool.poetry.group.docs.dependencies]
mkdocs = "^1.5.3"
mkdocs-material = { extras = ["imaging"], version = "^9.5.3" }
mkdocs-plugin-inline-svg = "^0.1.0"
mkdocs-exclude = "^1.0.2"
mkdocstrings = { extras = ["python"], version = ">=0.24,<0.27" }
griffe = ">=0.47.0,<1.6.0"
griffe-inherited-docstrings = "^1.0.0"
mkdocs-awesome-pages-plugin = "^2.9.2"
[tool.poetry-dynamic-versioning]
enable = false
[[tool.poetry-dynamic-versioning.substitution.folders]]
path = "."
files = ["pyproject.toml"]
patterns = [
"path = \"\\./turu-[\\w-]+\"\ndevelop = true\n# (version = \"())0\\.0\\.0",
]
[tool.taskipy.tasks]
format = "ruff format ."
lint = "ruff check ."
typecheck = "pyright src/** tests/**"
test = "pytest ./tests -n auto --cov=src --cov-report=term --cov-report=xml"
ci = "task format && task lint && task typecheck && task test"
docs-serve = "mkdocs serve"
docs-deploy = "mkdocs gh-deploy"
[build-system]
requires = ["poetry-core>=1.0.0", "poetry-dynamic-versioning>=1.0.0,<2.0.0"]
build-backend = "poetry_dynamic_versioning.backend"