Skip to content

fix(ruff): use the expanded default lint rules - #1589

Draft
tcely wants to merge 70 commits into
mainfrom
test-1587-review-lint-findings
Draft

tcely wants to merge 70 commits into
mainfrom
test-1587-review-lint-findings

Conversation

@tcely

@tcely tcely commented Sep 11, 2026

Copy link
Copy Markdown
Collaborator

Fixes #1587

@tcely
tcely force-pushed the test-1587-review-lint-findings branch from ee51c13 to 46d9e42 Compare September 14, 2026 11:51
self.validate_thread_sharing()
raw_cursor = self.create_cursor()
with self.make_cursor(raw_cursor) as cursor:
cursor.execute('SELECT 1;')

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't believe that we need or actually use this query.

In my opinion, it should be removed in favor of the is_usable check provided by the backend.

Any objections??

@tcely
tcely force-pushed the test-1587-review-lint-findings branch 4 times, most recently from c7a244d to a683f6e Compare September 14, 2026 16:22
@tcely
tcely force-pushed the main branch 2 times, most recently from c6f9d05 to 0b8ae78 Compare September 14, 2026 21:50
@tcely
tcely force-pushed the test-1587-review-lint-findings branch from 408f7bd to 3792e31 Compare September 14, 2026 22:14

@tcely tcely left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Conflict resolution adjustments.

Comment thread tubesync/sync/hooks.py Outdated
Comment thread tubesync/sync/hooks.py Outdated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

help wanted Extra attention is needed

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

Review lint findings

3 participants