-
Notifications
You must be signed in to change notification settings - Fork 28
/
pyproject.toml
149 lines (129 loc) · 3.67 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
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
[build-system]
requires = [
"poetry>=1.0.0",
]
build-backend = "poetry.core.masonry.api"
[tool.poetry]
name = "sqlalchemy_exasol"
packages = [
{ include = "sqlalchemy_exasol" },
{ include = "exasol" }
]
version = "5.0.0"
description = "EXASOL dialect for SQLAlchemy"
readme = "README.rst"
authors = [
"Exasol AG <[email protected]>",
"Blue Yonder GmbH",
]
license = "BSD"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Operating System :: POSIX :: Linux",
"Intended Audience :: Developers",
"Intended Audience :: Education",
"Intended Audience :: Information Technology",
"Programming Language :: SQL",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Topic :: Database",
"Topic :: Software Development",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Libraries :: Application Frameworks",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Scientific/Engineering :: Information Analysis",
]
keywords = [
"exasol",
"sql",
"sqlalchemy",
"data science",
"database",
]
include = [
"README.rst",
"CHANGELOG.rst",
"LICENSE",
]
exclude = []
[tool.poetry.urls]
"Homepage" = "https://www.exasol.com/"
"Documentation" = "https://exasol.github.io/sqlalchemy-exasol/"
"Source" = "https://github.com/exasol/sqlalchemy-exasol"
"Issues" = "https://github.com/exasol/sqlalchemy-exasol/issues"
"Changelog" = "https://exasol.github.io/sqlalchemy-exasol/changelog.html"
[tool.poetry.dependencies]
python = ">=3.9,<4.0"
packaging = ">=21.3"
pyexasol = ">=0.26.0,<1"
sqlalchemy = ">=1.4,<2"
[tool.poetry.dependencies.turbodbc]
version = "==4.5.4"
optional = true
[tool.poetry.dependencies.pyodbc]
version = ">=4.0.34,<6"
optional = true
[tool.poetry.group.dev.dependencies]
nox = ">=2022.1.7"
urlscan = ">=0.9.9"
pytest-json-report = ">=1.5.0"
# The excluded versions mirror the excluded versions of sqla 1.3.X.
# The limitation/issue pytest <6 is tracked in https://github.com/exasol/sqlalchemy-exasol/issues/144
pytest = ">=6,<9"
pytest-cov = ">=2.7.0"
pre-commit = ">=2.19.0"
black = ">=22.6.0"
isort = "^5.10.1"
pylint = ">=2.14.5,<4.0.0"
Sphinx = ">=6"
furo = ">=2022.6.21"
sphinx-copybutton = "^0.5.0"
mypy = ">=0.982"
pyupgrade = ">=3.0.0"
rich = "^13.3.1"
exasol-integration-test-docker-environment = "^3.1.0"
pytest-history = ">=0.2.0"
pyodbc = ">=4.0.34,<6"
pytest-exasol-itde = ">=0.2.0,<1"
exasol-toolbox = "^0.19.0"
[tool.poetry.extras]
pyodbc = ["pyodbc"]
turbodbc = ["turbodbc"]
[tool.poetry.plugins."sqlalchemy.dialects"]
"exa.pyodbc" = "sqlalchemy_exasol.pyodbc:EXADialect_pyodbc"
"exa.turbodbc" = "sqlalchemy_exasol.turbodbc:EXADialect_turbodbc"
"exa.websocket" = "sqlalchemy_exasol.websocket:EXADialect_websocket"
[tool.pytest.ini_options]
addopts = "--tb native -v -r fxX"
filterwarnings = [
"error::DeprecationWarning",
"ignore::DeprecationWarning:sqlalchemy.testing.plugin.*",
"ignore::DeprecationWarning:sqlalchemy_exasol.*",
]
[tool.black]
line-length = 88
verbose = false
include = "\\.pyi?$"
[tool.isort]
profile = "black"
force_grid_wrap = 2
[tool.pylint.master]
fail-under = 5.9
[tool.pylint.format]
max-line-length = 88
max-module-lines = 800
[tool.mypy]
files = [
'scripts/**/*.py',
# Incrementaly add files and paths to fix until the entire project is checked
]
[[tool.mypy.overrides]]
module = "pyodbc"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "exasol.toolbox"
ignore_missing_imports = true
[tool.scriv]
new_fragment_template = "file: templates/fragment-template.rst"
version = "literal: pyproject.toml: tool.poetry.version"