-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
52 lines (42 loc) · 1.02 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
[tool.poetry]
name = "python-formatting"
version = "0.2.7"
description = "Sample project to setup code testing and formatting tools"
authors = ["Sadik Bakiu <[email protected]>"]
license = "Apache 2.0"
[tool.poetry.dependencies]
python = "^3.9"
keyring = "^25.1.0"
keyrings-google-artifactregistry-auth = "^1.1.2"
[tool.poetry.dev-dependencies]
[tool.poetry.group.dev.dependencies]
flake8 = "^7.0.0"
pre-commit = "^3.7.0"
pytest = "^8.1.1"
pytest-cov = "^5.0.0"
black = "^24.2.0"
sqlfluff = "^3.0.3"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.isort]
profile = "black"
multi_line_output = 3
src_paths = ["isort", "test"]
line_length = 120
[tool.sqlfluff.core]
templater = "dbt"
dialect = "ansi"
[tool.sqlfluff.rules]
tab_space_size = 4
max_line_length = 120
[tool.sqlfluff.templater.dbt]
project_dir = "dbt/dbt_test_project"
profiles_dir = "dbt"
profile = "default"
target = "test"
[tool.flake8]
exclude = [".git", "__pycache__"]
max-line-length = 120
[tool.pytest]
pythonpath = "."