mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Remove unneeded exclusion
This commit is contained in:
parent
1715558c8f
commit
68f8d4925e
@ -61,7 +61,7 @@ unfixable = ['PIE794', 'ISC001']
|
||||
"src/calibre/gui2/store/stores/*" = ['UP']
|
||||
"src/calibre/gui2/tts/manager.py" = ['UP037']
|
||||
"src/calibre/utils/copy_files.py" = ['UP037']
|
||||
"src/calibre/utils/smartypants.py" = ['RUF039', 'RUF055']
|
||||
"src/calibre/utils/smartypants.py" = ['RUF055']
|
||||
"src/calibre/web/feeds/news.py" = ['RET501']
|
||||
"src/qt/*.py" = ['I', 'E302']
|
||||
"src/qt/*.pyi" = ['I']
|
||||
|
@ -493,7 +493,7 @@ def smartyPants(text, attr='1'):
|
||||
if not in_pre:
|
||||
t = processEscapes(t)
|
||||
|
||||
t = re.sub('"', '"', t)
|
||||
t = re.sub(r'"', '"', t)
|
||||
t = dashes_func(t)
|
||||
t = ellipses_func(t)
|
||||
# Note: backticks need to be processed before quotes.
|
||||
|
Loading…
x
Reference in New Issue
Block a user