-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
70 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
[tool.poetry]
name = "customizable_continuous_integration"
version = "1.3.4"
description = "The CI automation project"
authors = ["Ryan,Gao <[email protected]>"]
license = "MIT"
readme = "README.md"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.poetry.scripts]
ci_cli = "customizable_continuous_integration.automations.__main__:main"
#####################
# Tool Configs #
#####################
# black
[tool.black]
line-length = 150
include = '\.pyi?$'
force-exclude = '^(.*/|)\.?snap\_.*\.py$'
# flake8
# >>> Flake8 does not support `pyproject.toml`, use `.flake8` instead <<<
# flake8-docstring
[tool.pydocstyle]
convention = "google"
# isort
[tool.isort]
profile = "black"
skip_glob = ['**/tests/**/snap_test*.py']
line_length = 150
#############################
# Package Requirements #
#############################
[tool.poetry.dependencies]
python = ">=3.10.0,<3.12"
dbt-core = "~1.8.5"
dbt-bigquery = "~1.8.2"
gitpython = "~3.1.43"
retrying = "~1.3.4"
numpy = "<2.0.0"
pre-commit = "~3.8.0"
PyGithub = "~2.4.0"
[tool.poetry.group.lint.dependencies]
black = "~24.8.0"
flake8 = "~7.1.1"
flake8-docstrings = "~1.7.0"
flake8-bugbear = "~24.8.19"
flake8-builtins = "~2.5.0"
flake8-comprehensions = "~3.15.0"
pep8-naming = "~0.13.3"
isort = "~5.13.2"
mypy = "~1.11.1"
sqlfluff = "~3.1.1"
sqlfluff-templater-dbt = "~3.1.1"
shandy-sqlfmt = {extras = ["jinjafmt"], version = "~0.23.2"}
[tool.sqlfmt]
line_length = 120
dialect="polyglot"
exclude=["dbt_packages/**/*", "target/**/*.sql"]