qt6 mypy: Fix lint
This commit is contained in:
parent
9637b8b4fa
commit
a6d4227578
|
|
@ -268,6 +268,7 @@ def check_spelling(args: argparse.Namespace) -> Optional[bool]:
|
|||
pathlib.Path('scripts', 'dev', 'misc_checks.py'),
|
||||
pathlib.Path('scripts', 'dev', 'enums.txt'),
|
||||
pathlib.Path('qutebrowser', '3rdparty', 'pdfjs'),
|
||||
pathlib.Path('qutebrowser', 'qt', '_core_pyqtproperty.py'),
|
||||
hint_data / 'ace' / 'ace.js',
|
||||
hint_data / 'bootstrap' / 'bootstrap.css',
|
||||
]
|
||||
|
|
|
|||
|
|
@ -192,7 +192,10 @@ def run(files):
|
|||
whitelist_file.close()
|
||||
|
||||
vult = vulture.Vulture(verbose=False)
|
||||
vult.scavenge(files + [whitelist_file.name])
|
||||
vult.scavenge(
|
||||
files + [whitelist_file.name],
|
||||
exclude="qutebrowser/qt/_core_pyqtproperty.py",
|
||||
)
|
||||
|
||||
os.remove(whitelist_file.name)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue