jw-pkg/conf/topdir/pyproject.toml
Jan Lindemann 7a65a7b5e1
pyproject.tompl: Set ruff.output-format = "concise"

In order to produce make check output digestable by vim, ruff's output format needs to be set to "concise", so do that.

Signed-off-by: Jan Lindemann <jan@janware.com>
2026-06-01 14:33:52 +02:00

76 lines
1.3 KiB
TOML

[tool.isort]
lines_between_sections = 1
lines_between_types = 1
# Make sure external deps are classified above
known_third_party = [
"yaml",
]
# Define semantic/dependency layers.
sections = [
"FUTURE",
"STDLIB",
"THIRDPARTY",
"JW_BASIC",
"FIRSTPARTY",
"LOCALFOLDER",
]
known_jw_basic = [
"jw.pkg",
]
# Catch other jw.* imports not assigned to a finer section.
known_first_party = [
"jw",
]
[tool.ruff]
line-length = 88
output-format = "concise"
[tool.ruff.format]
quote-style = "single"
[tool.ruff.lint]
select = [
"F", # Pyflakes, includes F401
"E", # pycodestyle errors
"W", # pycodestyle warnings
]
ignore = [
"E251",
]
unfixable = [
"E251",
]
[tool.yapf]
based_on_style = "pep8"
column_limit = 88
indent_width = 4
continuation_indent_width = 4
continuation_align_style = "space"
dedent_closing_brackets = true
coalesce_brackets = false
split_all_comma_separated_values = false
split_all_top_level_comma_separated_values = true
split_before_first_argument = true
split_arguments_when_comma_terminated = true
split_before_expression_after_opening_paren = true
spaces_around_default_or_named_assign = true
blank_line_before_nested_class_or_def = true
blank_lines_around_top_level_definition = 1