refactor(tagger): remove unused script && update lint config && optimize imports && fix test cases

This commit is contained in:
Jianqi Pan
2025-02-21 22:35:59 +09:00
parent 314787404f
commit e39c4e9799
5 changed files with 32 additions and 37 deletions

View File

@@ -36,6 +36,12 @@ ignore = [
"N812",
]
[tool.ruff.lint.extend-per-file-ignores]
"tests/**/*.py" = [
# at least this three should be fine in tests:
"S101", # asserts allowed in tests
"PLR2004", # Magic value used in comparison
]
[tool.pyright]
[tool.uv]