pyproject.toml -> standardize on black

This commit is contained in:
jdegenstein 2024-02-22 10:33:26 -06:00 committed by GitHub
parent 33c9d116b8
commit a5a6ccdd3f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -64,31 +64,3 @@ write_to = "src/build123d/_version.py"
[tool.black]
target-version = ["py39", "py310", "py311", "py312"]
line-length = 88
[tool.ruff]
# Same as Black.
line-length = 88
indent-width = 4
[tool.ruff.format]
# Like Black, use double quotes for strings.
quote-style = "double"
# Like Black, indent with spaces, rather than tabs.
indent-style = "space"
# Like Black, respect magic trailing commas.
skip-magic-trailing-comma = false
# Like Black, automatically detect the appropriate line ending.
line-ending = "auto"
# Enable auto-formatting of code examples in docstrings. Markdown,
# reStructuredText code/literal blocks and doctests are all supported.
#
# This is currently disabled by default, but it is planned for this
# to be opt-out in the future.
docstring-code-format = false
# Keep single-line signatures when body is an Ellipsis
preview = true