-
Notifications
You must be signed in to change notification settings - Fork 7
/
pyproject.toml
61 lines (52 loc) · 1.25 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
[tool.poetry]
authors = ["Max Halford <[email protected]>"]
description = "A minimalist alternative to dbt"
name = "lea-cli"
packages = [
{include = "lea", from = "."},
]
version = "0.5.0"
[tool.poetry.dependencies]
Jinja2 = "^3.1.2"
duckdb = "^1.0.0"
gitpython = "^3.1.40"
pandas = "^2.1.3"
python = ">=3.10,<4"
python-dotenv = "^1.0.0"
requests = "^2.31.0"
rich = "^13.5.3"
sqlglot = ">=22.2,<26.0"
tabulate = "^0.9.0"
typer = "^0.12.3"
rsa = "^4.7"
[tool.poetry.group.duckdb.dependencies]
duckdb = "^1.0.0"
[tool.poetry.group.bigquery.dependencies]
db-dtypes = "^1.1.1"
google-cloud-bigquery = "^3.11.4"
pandas-gbq = ">=0.19.2,<0.25.0"
[tool.poetry.group.dev.dependencies]
ipykernel = "^6.21.2"
pre-commit = ">=3.5,<5.0"
pytest = ">=7.4.2,<9.0.0"
ruff = ">=0.1,<0.8"
[build-system]
build-backend = "poetry.core.masonry.api"
requires = ["poetry-core>=1.0.0"]
[tool.poetry.scripts]
lea = "lea.main:app"
[tool.ruff]
ignore = ["E501"]
line-length = 100
select = ["E", "F", "I", "UP"] # https://beta.ruff.rs/docs/rules/
target-version = 'py310'
[tool.ruff.isort]
required-imports = ["from __future__ import annotations"]
[tool.pytest.ini_options]
addopts = [
"--doctest-modules",
"--doctest-glob=README.md",
"--ignore=examples",
"--verbose",
"--color=yes",
]