-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
63 lines (48 loc) · 1.47 KB
/
pyproject.toml
File metadata and controls
63 lines (48 loc) · 1.47 KB
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
[tool.mypy]
check_untyped_defs = true
disallow_any_generics = true
disallow_incomplete_defs = true
disallow_untyped_defs = true
warn_redundant_casts = true
warn_unused_ignores = true
[[tool.mypy.overrides]]
disallow_untyped_defs = false
module = "testing.*"
[[tool.mypy.overrides]]
disallow_untyped_defs = false
module = "tests.*"
[tool.pytest.ini_options]
asyncio_default_fixture_loop_scope = "function"
[tool.ruff]
target-version = "py312"
[tool.ruff.lint]
extend-select = [
"UP", # see pyupgrade
"B", # see flake8-bugbear
"A", # see flake8-builtins
"C4", # see flake8-comprehension
"SIM", # see flake8-simplify
"TC", # see flake8-type-checking
]
[tool.sqlfluff.layout.type.comma]
line_position = "leading"
spacing_before = "touch"
[tool.sqlfluff.layout.type.from_clause]
keyword_line_position = "leading"
[tool.sqlfluff.layout.type.when_clause]
keyword_line_position = "leading"
[tool.sqlfluff.rules.capitalisation.functions]
extended_capitalisation_policy = 'upper'
[tool.sqlfluff.rules.capitalisation.identifiers]
extended_capitalisation_policy = 'lower'
[tool.sqlfluff.rules.capitalisation.keywords]
capitalisation_policy = 'upper'
[tool.sqlfluff.rules.capitalisation.literals]
capitalisation_policy = 'upper'
[tool.sqlfluff.rules.convention.not_equal]
preferred_not_equal_style = "c_style"
[tool.sqlfluff.rules.convention.terminator]
multiline_newline = true
require_final_semicolon = true
[tool.sqlfluff.rules.references.quoting]
prefer_quoted_keywords = true