Skip to content

Conversation

@t3tra-dev
Copy link
Contributor

@t3tra-dev t3tra-dev commented May 20, 2025

Description

Several errors and warnings output by linter, which comes with editors such as flake8, have been fixed. The changes improve code organization and maintainability while preserving all existing functionality.

Testing

  • All existing tests pass without modification
  • Verified no functionality changes

Implementation Details

  • remove unused imports
  • remove unused variable
  • ignore unused imports that will be used in the future
  • replace NotImplemented with NotImplementedError
  • resolve F541, E722, W293

Migration Notes

This is a non-breaking change as all public APIs remain unchanged.

@afourney
Copy link
Member

Thanks for cleaning this up.

@afourney afourney merged commit cb421cf into microsoft:main May 21, 2025
3 checks passed
@jbillysilly22
Copy link

bruh no way i can comment bruh

azhao25 pushed a commit to azhao25/markitdown that referenced this pull request Oct 16, 2025
* 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 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants