-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
99 lines (83 loc) · 2.49 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
[tool.poetry]
name = "yesql"
version = "1.0.0b4"
description = "yesql is a SQL-first data access library that will replace your ORM."
readme = "README.md"
authors = ["Sean Stewart <[email protected]>"]
license = "MIT"
keywords = ["typing", "data", "annotations", "validation", "json-schema"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Natural Language :: English",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: Database",
"Topic :: Database :: Front-Ends",
"Typing :: Typed",
]
[tool.poetry.scripts]
"yesql" = "yesql.bin.main:run"
[tool.poetry.dependencies]
python = ">=3.8.1,<4.0"
typical = "^2.8"
PyPika = "^0.48"
orjson = "^3"
sqlparse = "^0.4"
asyncpg = {version = "^0.27", optional = true}
psycopg = {extras = ["binary", "pool"], version = "^3.1", optional = true}
black = {version = "^23", optional = true}
[tool.poetry.group.docs.dependencies]
mkdocs ="^1.2.2"
mkdocs-material = "^8.0"
mkdocs-awesome-pages-plugin = "^2.5.0"
[tool.poetry.group.lint.dependencies]
mypy = "^1"
black = "^23"
flake8 = "^6"
types-orjson = "^0.1.1"
[tool.poetry.group.test.dependencies]
pytest = "^7"
pytest-asyncio = "^0.21"
pytest-cov = "^4"
pytest-benchmark = "^4"
factory-boy = "^3.2.1"
[tool.poetry.group.dev.dependencies]
bumpver = "^2022.1120"
[tool.poetry.extras]
asyncpg = ["asyncpg", "orjson"]
psycopg = ["psycopg", "orjson"]
cli = ["black"]
[tool.mypy]
mypy_path = "$MYPY_CONFIG_FILE_DIR/yesql"
no_namespace_packages = true
python_version = "3.11"
install_types = true
non_interactive = true
ignore_missing_imports = true
no_strict_optional = true
follow_imports = "silent"
exclude = ".*tests/.*|.*docs/.*"
[tool.bumpver]
current_version = "v1.0.0-beta4"
version_pattern = "vMAJOR.MINOR.PATCH[-TAGNUM]"
commit_message = "bump version to {new_version} [ci skip]"
tag = false
push = false
commit = true
[tool.bumpver.file_patterns]
"pyproject.toml" = [
'current_version = "{version}"',
'version = "{pep440_version}"',
]
"yesql/__init__.py" = ['__version__ = "{pep440_version}"']
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"