maple_clb/pyproject.toml

39 lines
841 B
TOML

[build-system]
requires = ["setuptools>=60.5", "wheel"]
[tool.black]
exclude = 'generated'
target-version = ["py39", "py310"]
[tool.yapf]
[tool.isort]
# https://github.com/PyCQA/isort/wiki/isort-Settings
profile = "black"
# will group `import x` and `from x import` of the same module.
combine_as_imports = true
force_sort_within_sections = true
[project.optional-dependencies]
linux = [
"uvloop",
]
[tool.yapf]
coalesce_brackets = true
decent_closing_brackets = true
each_dict_entry_on_separate_line = false
split_before_dot = true
split_before_first_argument = true
split_before_logical_operator = true
# based_on_style = "google"
based_on_style = "yapf"
column_limit = 83
indent_width = 4
spaces_before_comment = 2
[tool.flake8]
ignore = "E203,E402,E501,E722,W503,MD041,F811"
max-line-length = 80
select = "C,E,F,W,B,B950,B9,ISC"