tool-default-configs/pyproject.toml

29 lines
780 B
TOML
Raw Normal View History

2023-08-11 23:34:24 +02:00
[tool.black]
line-length = 100
# exclude-extend = '''
# '''
[tool.isort]
line_length = 100
profile = "black"
2024-10-20 02:09:59 +02:00
known_typing = "typing" # types,typing_extensions,mypy,mypy_extensions
2023-08-11 23:34:24 +02:00
# default: "FUTURE,STDLIB,THIRDPARTY,FIRSTPARTY,LOCALFOLDER"
sections = "FUTURE,TYPING,STDLIB,THIRDPARTY,FIRSTPARTY,LOCALFOLDER"
# skip_glob = [""] # files/folders/... to skip
# known_first_party = [""] # packages that are forced as first party
# src_paths = [""] # files inside these paths are treated as first party
2024-10-20 02:09:59 +02:00
# multi_line_output = 5
2023-08-11 23:34:24 +02:00
float_to_top = true
group_by_package = true
combine_as_imports = true
[tool.ruff]
2023-09-08 18:39:16 +02:00
line-length = 100
2023-08-11 23:34:24 +02:00
target-version = "py311"
2024-10-21 03:52:26 +02:00
[tool.ruff.lint]
select = ["E", "F"]
[tool.ruff.lint.per-file-ignores]
2023-08-11 23:34:24 +02:00
"__init__.py" = ["F401"]