Skip to content

fix(lint): remove unused os import in test_disconnect_clears_grants - #1035

Merged
kovtcharov-amd merged 1 commit into
mainfrom
kalin/fix-flake8-unused-os-import
May 11, 2026
Merged

kovtcharov-amd merged 1 commit into
mainfrom
kalin/fix-flake8-unused-os-import

Conversation

@kovtcharov

Copy link
Copy Markdown
Contributor

Why this matters

Before: Code Quality CI fails on every PR with `F401 'os' imported but unused` at `tests/unit/connectors/test_disconnect_clears_grants.py:18`. Introduced incidentally by #998. Blocks #1026 and any subsequent PR from going green.

After: import removed, flake8 exits clean.

Test plan

  • `flake8 src/ tests/ --max-line-length=88 --extend-ignore=E203,W503,E501,F541,W291,W293,E402,F841,E722` → 0 errors

Pre-existing flake8 F401 introduced by #998 that blocked all subsequent
PRs from passing Code Quality CI. The os module is never referenced in
this file.
@kovtcharov-amd
kovtcharov-amd added this pull request to the merge queue May 11, 2026
Merged via the queue into main with commit bb05366 May 11, 2026
23 checks passed
@kovtcharov-amd
kovtcharov-amd deleted the kalin/fix-flake8-unused-os-import branch May 11, 2026 20:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

tests Test changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants