Skip to content

Force zip(strict=True) in tag.tltk - #1607

Merged
bact merged 1 commit into
PyThaiNLP:devfrom
bact:zip-strict
Nov 13, 2026
Merged

bact merged 1 commit into
PyThaiNLP:devfrom
bact:zip-strict

Conversation

@bact

@bact bact commented Nov 13, 2026 •

Copy link
Copy Markdown
Member

What do these changes do

  • Fix Ruff B905 in tag/tltk.py: pass strict=True to zip() in get_ner

What was wrong

How this fixes it

Fixes #...

Your checklist for this pull request

  • Passed code styles and structures
  • Passed code linting checks and unit test

Signed-off-by: Arthit Suriyawongkul <arthit@gmail.com>
@bact bact added the bug bugs in the library label Nov 13, 2026
@sonarqubecloud

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
B Maintainability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

@coveralls

Copy link
Copy Markdown

Coverage Status

coverage: 74.238% (-0.004%) from 74.242% — bact:zip-strict into PyThaiNLP:dev

@bact
bact merged commit 269d0f9 into PyThaiNLP:dev Nov 13, 2026
24 of 26 checks passed
@bact
bact deleted the zip-strict branch November 13, 2026 12:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug bugs in the library

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants