mirror of
https://github.com/gumyr/build123d.git
synced 2025-12-06 02:30:55 -08:00
pyproject.toml -> standardize on black
This commit is contained in:
parent
33c9d116b8
commit
a5a6ccdd3f
1 changed files with 0 additions and 28 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue