mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
Add pyproject.toml file to manage some options for tools
This file is only relevant for tools that use it, in development, and so it is not supposed to be installed. It does not harm but there is no purpose.
This commit is contained in:
parent
1e5c366d53
commit
aaef6d2693
20
lib/pyproject.toml
Normal file
20
lib/pyproject.toml
Normal file
@ -0,0 +1,20 @@
|
||||
[tool.ruff]
|
||||
|
||||
# Assume Python 3.8
|
||||
target-version = "py38"
|
||||
|
||||
# indentation details
|
||||
line-length = 96
|
||||
indent-width = 4
|
||||
|
||||
[tool.ruff.format]
|
||||
# Enable auto-formatting of code examples in docstrings. Markdown,
|
||||
# reStructuredText code/literal blocks and doctests are all supported.
|
||||
docstring-code-format = true
|
||||
|
||||
# Set the line length limit used when formatting code snippets in
|
||||
# docstrings.
|
||||
#
|
||||
# This only has an effect when the `docstring-code-format` setting is
|
||||
# enabled.
|
||||
docstring-code-line-length = "dynamic"
|
Loading…
Reference in New Issue
Block a user