mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Use ruff for auto-format
This commit is contained in:
parent
3f0a747730
commit
0da36a9835
@ -5,14 +5,14 @@ builtins = ['_']
|
|||||||
|
|
||||||
[tool.ruff.lint]
|
[tool.ruff.lint]
|
||||||
ignore = ['E741', 'E402', 'E722', 'E401']
|
ignore = ['E741', 'E402', 'E722', 'E401']
|
||||||
select = ['E', 'F']
|
select = ['E', 'F', 'I']
|
||||||
|
|
||||||
[tool.ruff.lint.per-file-ignores]
|
[tool.ruff.lint.per-file-ignores]
|
||||||
"src/calibre/ebooks/unihandecode/unicodepoints.py" = ["E501"]
|
"src/calibre/ebooks/unihandecode/unicodepoints.py" = ["E501"]
|
||||||
"src/qt/__init__.py" = ["E501"]
|
"src/qt/__init__.py" = ["E501"]
|
||||||
|
|
||||||
[tool.black]
|
[tool.ruff.format]
|
||||||
target-version = ['py38']
|
quote-style = 'single'
|
||||||
|
|
||||||
[tool.isort]
|
[tool.isort]
|
||||||
profile = "black"
|
profile = "black"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user