Chore: Make linter happy (#1256)

* refactor: remove unused imports

* fix: replace NotImplemented with NotImplementedError

* refactor: resolve E722 (do not use bare 'except')

* refactor: remove unused variable

* refactor: remove unused imports

* refactor: ignore unused imports that will be used in the future

* refactor: resolve W293 (blank line contains whitespace)

* refactor: resolve F541 (f-string is missing placeholders)

---------

Co-authored-by: afourney <adamfo@microsoft.com>
This commit is contained in:
t3tra
2025-05-22 02:02:16 +09:00
committed by GitHub
parent 39e7252940
commit cb421cf9ea
26 changed files with 25 additions and 69 deletions

View File

@@ -2,7 +2,6 @@
import os
import time
import pytest
import codecs
import base64
from pathlib import Path
@@ -14,8 +13,6 @@ else:
from markitdown import (
MarkItDown,
UnsupportedFormatException,
FileConversionException,
StreamInfo,
)
@@ -203,8 +200,6 @@ def test_convert_stream_keep_data_uris(test_vector):
if __name__ == "__main__":
import sys
"""Runs this file's tests from the command line."""
# General tests