-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
91 lines (72 loc) · 1.91 KB
/
pyproject.toml
File metadata and controls
91 lines (72 loc) · 1.91 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
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
[project]
name = "query-farm-airport-test-server"
version = "0.1.1"
description = "An Apache Arrow Flight server that is used to test the Airport extension for DuckDB."
authors = [{ name = "Rusty Conover", email = "[email protected]" }]
dependencies = [
"pyarrow>=20.0.0",
"query-farm-flight-server",
"duckdb>=1.4.0.dev165",
"query-farm-duckdb-json-serialization>=0.1.4",
]
readme = "README.md"
requires-python = ">= 3.12"
[project.urls]
Repository = "https://github.com/query-farm/python-airport-test-server.git"
Issues = "https://github.com/query-farm/python-airport-test-server/issues"
[build-system]
requires = ["hatchling==1.26.3", "hatch-vcs"]
build-backend = "hatchling.build"
[tool.rye]
managed = true
dev-dependencies = [
"pytest>=8.3.2",
"pytest-mypy>=0.10.3",
"pytest-env>=1.1.3",
"pytest-cov>=5.0.0",
"pytest-parallel>=0.1.1",
"pytest-xdist>=3.6.1",
"ruff==0.11.2",
]
[tool.hatch.metadata]
allow-direct-references = true
[tool.hatch.build.targets.wheel]
packages = ["src/query_farm_airport_test_server"]
[project.scripts]
airport_test_server = 'query_farm_airport_test_server:do_server'
[tool.rye.scripts]
dev = { cmd = "airport_test_server --location grpc://0.0.0.0:50003", description = "Run the test server" }
[tool.pytest]
[tool.mypy]
ignore_missing_imports = true
plugins = ["pydantic.mypy"]
follow_imports = "silent"
warn_redundant_casts = true
warn_unused_ignores = true
disallow_any_generics = true
check_untyped_defs = true
no_implicit_reexport = true
# for strict mypy: (this is the tricky one :-))
disallow_untyped_defs = true
[tool.pydantic.mypy]
init_forbid_extra = true
init_typed = true
warn_required_dynamic_aliases = true
[tool.ruff]
line-length = 120
[tool.ruff.lint]
select = [
# pycodestyle
"E",
# Pyflakes
"F",
# pyupgrade
"UP",
# flake8-bugbear
"B",
# flake8-simplify
"SIM",
# isort
"I",
]
ignore = ['E501']