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]
|
||||
ignore = ['E741', 'E402', 'E722', 'E401']
|
||||
select = ['E', 'F']
|
||||
select = ['E', 'F', 'I']
|
||||
|
||||
[tool.ruff.lint.per-file-ignores]
|
||||
"src/calibre/ebooks/unihandecode/unicodepoints.py" = ["E501"]
|
||||
"src/qt/__init__.py" = ["E501"]
|
||||
|
||||
[tool.black]
|
||||
target-version = ['py38']
|
||||
[tool.ruff.format]
|
||||
quote-style = 'single'
|
||||
|
||||
[tool.isort]
|
||||
profile = "black"
|
||||
|
Loading…
x
Reference in New Issue
Block a user