| 1 |
[project] |
| 2 |
name = "harlequin-mysql" |
| 3 |
version = "1.4.0" |
| 4 |
description = "A Harlequin adapter for MySQL." |
| 5 |
authors = [ |
| 6 |
{ name = "Ted Conbeer", email = "[email protected]" }, |
| 7 |
] |
| 8 |
license = "MIT" |
| 9 |
readme = "README.md" |
| 10 |
requires-python = ">=3.10" |
| 11 |
dependencies = [ |
| 12 |
"harlequin>=2.11.0,<3", |
| 13 |
"mysql-connector-python>=9.1.0,<10", |
| 14 |
|
| 15 |
"duckdb>=1.4.2.dev0; python_version >= '3.14'", |
| 16 |
] |
| 17 |
|
| 18 |
|
| 19 |
[project.entry-points."harlequin.adapter"] |
| 20 |
mysql = "harlequin_mysql:HarlequinMySQLAdapter" |
| 21 |
|
| 22 |
|
| 23 |
[dependency-groups] |
| 24 |
dev = [ |
| 25 |
"harlequin==2.11.0", |
| 26 |
"ruff>=0.6,<1", |
| 27 |
"pytest>=8,<9", |
| 28 |
"mypy>=1.11,<2", |
| 29 |
"pre-commit>=3.5.0,<4", |
| 30 |
] |
| 31 |
|
| 32 |
|
| 33 |
[build-system] |
| 34 |
|
| 35 |
requires = ["hatchling"] |
| 36 |
build-backend = "hatchling.build" |
| 37 |
|
| 38 |
|
| 39 |
[tool.hatch.build.targets.wheel] |
| 40 |
|
| 41 |
packages = [ |
| 42 |
"src/harlequin_mysql", |
| 43 |
] |
| 44 |
|
| 45 |
|
| 46 |
[tool.hatch.build.targets.sdist] |
| 47 |
|
| 48 |
only-include = [ |
| 49 |
"src", |
| 50 |
"README.md", |
| 51 |
"CHANGELOG.md", |
| 52 |
"LICENSE", |
| 53 |
"pyproject.toml" |
| 54 |
] |
| 55 |
|
| 56 |
|
| 57 |
[tool.ruff] |
| 58 |
target-version = "py310" |
| 59 |
|
| 60 |
|
| 61 |
[tool.ruff.lint] |
| 62 |
select = ["A", "B", "E", "F", "I"] |
| 63 |
|
| 64 |
|
| 65 |
[tool.mypy] |
| 66 |
python_version = "3.10" |
| 67 |
files = [ |
| 68 |
"src/**/*.py", |
| 69 |
"tests/**/*.py", |
| 70 |
] |
| 71 |
mypy_path = "src:stubs" |
| 72 |
|
| 73 |
show_column_numbers = true |
| 74 |
|
| 75 |
|
| 76 |
follow_imports = "normal" |
| 77 |
|
| 78 |
|
| 79 |
disallow_untyped_calls = true |
| 80 |
disallow_untyped_defs = true |
| 81 |
check_untyped_defs = true |
| 82 |
disallow_untyped_decorators = true |
| 83 |
disallow_incomplete_defs = true |
| 84 |
disallow_subclassing_any = true |
| 85 |
strict_optional = true |
| 86 |
|
| 87 |
warn_return_any = true |
| 88 |
warn_no_return = true |
| 89 |
warn_redundant_casts = true |
| 90 |
warn_unused_ignores = true |
| 91 |
warn_unused_configs = true |
| 92 |
|
| 93 |
no_implicit_reexport = true |
| 94 |
strict_equality = true |