Skip to content

refactor: Make linter stricter#233

Open
martinreinhardt01 wants to merge 2 commits intomainfrom
make-linter-stricter
Open

refactor: Make linter stricter#233
martinreinhardt01 wants to merge 2 commits intomainfrom
make-linter-stricter

Conversation

@martinreinhardt01
Copy link
Copy Markdown
Collaborator

PR Checklist

  • Use descriptive commit messages.
  • Provide tests for your changes.
  • Update any related documentation and include any relevant screenshots.
  • Check if changes need to be made to docs (README or any guides in /docs/).

What type of PR is this? (check all applicable)

  • Refactor
  • Feature
  • Bug Fix
  • Optimization
  • Documentation Update

Description

Related Tickets & Documents

  • Related Issue #
  • Closes #

QA Instructions, Screenshots, Recordings

Please replace this line with instructions on how to test your changes, a note
on the hardware and config this has been tested on, as well as any relevant
additional information.

Added/updated tests?

  • Yes
  • No, and this is why: please replace this line with details on why tests
    have not been included
  • I need help with writing tests

[optional] Are there any post deployment tasks we need to perform?

Add extend-select = [B] in pyproject.toml. Across src, tests, and utils,
make zip() calls explicit with strict=False, set stacklevel on deprecation
warnings, chain re-raised errors with from, and silence B027 on BaseLLM.__del__.
Replace misleading multi-character strip() on fenced SQL completions with
removeprefix/removesuffix; minor vllm loop/getattr cleanup; wrap a few long
lines (e.g. plot-results, formatter hash assertion).
Add ARG to extend-select. Keep public-facing signatures stable by restoring
original parameter names and suppressing ARG001/ARG002/ARG005 via inline
 on affected definitions; includes small follow-up fixes to
avoid undefined names introduced by the revert.
@martinreinhardt01 martinreinhardt01 changed the title Make linter stricter refactor: Make linter stricter May 7, 2026
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.

1 participant