forked from tconbeer/harlequin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
72 lines (59 loc) · 1.52 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
[tool.poetry]
name = "harlequin"
version = "0.0.11"
description = "A terminal-based SQL IDE for DuckDB"
authors = ["Ted Conbeer <[email protected]>"]
license = "MIT"
homepage = "https://harlequin.sh"
repository = "https://github.com/tconbeer/harlequin"
readme = "README.md"
packages = [
{ include = "harlequin", from = "src" },
]
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.poetry.dependencies]
python = "^3.8"
textual = ">=0.22.3,<0.27.0"
click = "^8.1.3"
duckdb = ">=0.8.0,<0.9.0"
shandy-sqlfmt = "^0.18.0"
[tool.poetry.group.dev.dependencies]
pre-commit = "^3.3.1"
textual = {version="*", extras=["dev"]}
[tool.poetry.group.static.dependencies]
black = "^23.3.0"
ruff = ">=0.0.264,<0.0.270"
mypy = "^1.2.0"
[tool.poetry.group.test.dependencies]
pytest = "^7.3.1"
pytest-asyncio = "^0.21.0"
[tool.poetry.scripts]
harlequin = "harlequin.cli:harlequin"
[tool.ruff]
select = ["E", "F", "I"]
[tool.mypy]
python_version = "3.11"
files = [
"src/harlequin/**/*.py",
"tests/**/*.py",
]
show_column_numbers = true
# show error messages from unrelated files
follow_imports = "normal"
# be strict
disallow_untyped_calls = true
disallow_untyped_defs = true
check_untyped_defs = true
disallow_untyped_decorators = true
disallow_incomplete_defs = true
disallow_subclassing_any = true
strict_optional = true
warn_return_any = true
warn_no_return = true
warn_redundant_casts = true
warn_unused_ignores = true
warn_unused_configs = true
no_implicit_reexport = true
strict_equality = true