comment formating (auto-fix)

ruff 'E114,E115,E116,E261,E262,E265'
This commit is contained in:
un-pogaz 2025-01-24 11:14:21 +01:00
parent 0b23eaf328
commit 19b9d979ab
76 changed files with 370 additions and 367 deletions

View File

@ -38,6 +38,7 @@ select = [
'RUF047', # needless else 'RUF047', # needless else
'E302', 'E303', 'E304', 'E305', 'W391', # blank-line standard 'E302', 'E303', 'E304', 'E305', 'W391', # blank-line standard
'E111', 'E112', 'E113', 'E117', # code indentation 'E111', 'E112', 'E113', 'E117', # code indentation
'E114', 'E115', 'E116', 'E261', 'E262', 'E265', # comment formating
] ]
[lint.per-file-ignores] [lint.per-file-ignores]
@ -45,8 +46,10 @@ select = [
"manual/plugin_examples/*" = ['UP'] "manual/plugin_examples/*" = ['UP']
"setup/commands.py" = ['RUF022'] "setup/commands.py" = ['RUF022']
"src/calibre/*" = ['UP031'] "src/calibre/*" = ['UP031']
"src/calibre/devices/kobo/driver.py" = ['E116']
"src/calibre/ebooks/unihandecode/*codepoints.py" = ['E501'] "src/calibre/ebooks/unihandecode/*codepoints.py" = ['E501']
"src/calibre/ebooks/metadata/sources/*" = ['UP'] "src/calibre/ebooks/metadata/sources/*" = ['UP']
"src/calibre/ebooks/pdf/reflow.py" = ['E114']
"src/calibre/gui2/store/stores/*" = ['UP'] "src/calibre/gui2/store/stores/*" = ['UP']
"src/calibre/gui2/tts/manager.py" = ['UP037'] "src/calibre/gui2/tts/manager.py" = ['UP037']
"src/calibre/utils/copy_files.py" = ['UP037'] "src/calibre/utils/copy_files.py" = ['UP037']