mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
ruff changed how it likes to be configured
This commit is contained in:
parent
d4245a018b
commit
1f1e08980c
@ -1,11 +1,13 @@
|
||||
[tool.ruff]
|
||||
line-length = 160
|
||||
target-version = 'py38'
|
||||
select = ['E', 'F']
|
||||
ignore = ['E741', 'E402', 'E722', 'E401']
|
||||
builtins = ['_']
|
||||
|
||||
[tool.ruff.per-file-ignores]
|
||||
[tool.ruff.lint]
|
||||
ignore = ['E741', 'E402', 'E722', 'E401']
|
||||
select = ['E', 'F']
|
||||
|
||||
[tool.ruff.lint.per-file-ignores]
|
||||
"src/calibre/ebooks/unihandecode/unicodepoints.py" = ["E501"]
|
||||
"src/qt/__init__.py" = ["E501"]
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user