mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
various misc recomendation (extra-edit)
ruff 'RUF'
This commit is contained in:
parent
437c6bfc61
commit
88bae18216
@ -20,10 +20,12 @@ quote-style = 'single'
|
|||||||
ignore = [
|
ignore = [
|
||||||
'E402', 'E722', 'E741',
|
'E402', 'E722', 'E741',
|
||||||
'UP012', 'UP030', 'UP032', 'UP038', 'C413', 'C420',
|
'UP012', 'UP030', 'UP032', 'UP038', 'C413', 'C420',
|
||||||
|
'RUF001', 'RUF002', 'RUF003', 'RUF005', 'RUF010', 'RUF012', 'RUF013', 'RUF015', 'RUF019', 'RUF021', 'RUF022', 'RUF023', 'RUF031', 'RUF034', 'RUF100',
|
||||||
]
|
]
|
||||||
select = [
|
select = [
|
||||||
'E', 'F', 'I', 'W', 'INT',
|
'E', 'F', 'I', 'W', 'INT',
|
||||||
'Q', 'UP', 'YTT', 'TID', 'C4', 'COM818',
|
'Q', 'UP', 'YTT', 'TID', 'C4', 'COM818',
|
||||||
|
'RUF', # nota: RUF can flag many unsolicited errors
|
||||||
]
|
]
|
||||||
|
|
||||||
[lint.per-file-ignores]
|
[lint.per-file-ignores]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user