mirror of
https://github.com/finegrain-ai/refiners.git
synced 2024-11-09 15:02:01 +00:00
pyproject.toml: add example for combine-as-imports
b44d612
was misleading (s/avoid/allow/)
This commit is contained in:
parent
792a0fc3d9
commit
c8d5faff9b
|
@ -79,6 +79,10 @@ ignore = [
|
|||
line-length = 120
|
||||
|
||||
[tool.ruff.lint.isort]
|
||||
# Allow this kind of import on a single line:
|
||||
#
|
||||
# from torch import device as Device, dtype as DType
|
||||
#
|
||||
combine-as-imports = true
|
||||
|
||||
[tool.docformatter]
|
||||
|
|
Loading…
Reference in a new issue