-
-
Notifications
You must be signed in to change notification settings - Fork 18
/
pyproject.toml
73 lines (63 loc) · 1.83 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
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.poetry]
name = "shandy-sqlfmt"
version = "0.21.2"
description = "sqlfmt formats your dbt SQL files so you don't have to."
readme = "README.md"
authors = ["Ted Conbeer <[email protected]>"]
license = "Apache-2.0"
homepage = "https://sqlfmt.com"
repository = "https://github.com/tconbeer/sqlfmt"
documentation = "https://docs.sqlfmt.com"
classifiers = [
"Development Status :: 3 - Alpha",
"Operating System :: MacOS :: MacOS X",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX :: Linux",
"Programming Language :: SQL",
"Topic :: Software Development :: Quality Assurance",
"Typing :: Typed",
]
packages = [
{ include = "sqlfmt", from = "src" },
]
[tool.poetry.extras]
jinjafmt = ["black"]
sqlfmt_primer = ["gitpython"]
[tool.poetry.dependencies]
python = "^3.8"
click = "^8.0"
tqdm = "^4.0"
platformdirs = ">=2.4,<5.0"
importlib_metadata = { version = "*", python = "<3.8" }
tomli = { version = "^2.0", python = "<3.11" }
jinja2 = "^3.0"
black = { version = "*", optional = true }
gitpython = { version = "^3.1.24", optional = true }
[tool.poetry.group.dev.dependencies]
pre-commit = ">=2.20,<4.0"
snakeviz = "^2.1.1"
black = ">=23.9.1"
[tool.poetry.group.static.dependencies]
flake8 = "^5.0.4"
isort = "^5.9.3"
mypy = ">=0.990,<1.9"
[tool.poetry.group.test.dependencies]
pytest = "^7.2.0"
pytest-cov = "^4.0.0"
[tool.poetry.scripts]
sqlfmt = "sqlfmt.cli:sqlfmt"
sqlfmt_primer = { callable = "sqlfmt_primer.primer:sqlfmt_primer", extras = ["sqlfmt_primer"] }
[tool.black]
line-length = 88
target-version = ["py38"]
[tool.isort]
multi_line_output = 3
include_trailing_comma = true
force_grid_wrap = 0
use_parentheses = true
ensure_newline_before_comments = true
line_length = 88
src_paths = ["src/sqlfmt", "tests"]