-
Notifications
You must be signed in to change notification settings - Fork 31
/
pyproject.toml
44 lines (40 loc) · 1.09 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
[tool.mypy]
python_version = "3.12"
exclude = ["shhh/static"]
warn_return_any = true
warn_unused_configs = true
ignore_missing_imports = true
[tool.ruff]
select = ["E", "F"]
fixable = ["ALL"]
exclude = [".eggs", ".git", ".mypy_cache", ".ruff_cache", "venv"]
per-file-ignores = {}
line-length = 79
target-version = "py312"
[tool.yapf]
split_before_logical_operator = true
allow_multiline_dictionary_keys = true
allow_split_before_default_or_named_assigns = true
allow_split_before_dict_value = true
blank_line_before_nested_class_or_def = true
coalesce_brackets = true
column_limit = 79
disable_ending_comma_heuristic = true
each_dict_entry_on_separate_line = true
indent_dictionary_value = true
indent_closing_brackets = false
join_multiple_lines = false
spaces_before_comment = 2
split_all_comma_separated_values = false
split_all_top_level_comma_separated_values = true
split_before_dict_set_generator = true
split_before_dot = true
split_complex_comprehension = true
[tool.coverage.report]
fail_under = 80
exclude_also = [
"pragma: no cover",
"if TYPE_CHECKING:"
]
[tool.coverage.run]
source = ["."]