update lint rules

Signed-off-by: vladmandic <mandic00@live.com>
pull/4668/head
vladmandic 2026-02-11 10:47:07 +01:00
parent 73a5d55022
commit b4e5b563c6
3 changed files with 7 additions and 1 deletions

View File

@ -41,3 +41,8 @@ repos:
.*\.md|
.github/ISSUE_TEMPLATE/.*\.yml
)$
- repo: https://github.com/oliv5/pre-commit-indents-to-spaces
rev: v0.0.1
hooks:
- id: indents-to-tabs
args: ["--spaces=4"]

View File

@ -25,6 +25,7 @@ const jsConfig = defineConfig([
ecmaVersion: 'latest',
},
globals: { // Set per project
...globals.node,
...globals.builtin,
...globals.browser,
...globals.jquery,

2
cli/test-caption-api.py → test/test-caption-api.py Executable file → Normal file
View File

@ -45,7 +45,7 @@ OCR_TEST_IMAGE = 'models/Reference/HiDream-ai--HiDream-I1-Fast.jpg'
BRACKET_TEST_IMAGE = 'models/Reference/SDXL-Flash_Mini.jpg'
# Custom prefill text used for dual-prefill verification across tests
CUSTOM_PREFILL = "Vlado is the best, and I'm looking at his robot which"
CUSTOM_PREFILL = "I'm looking at robot which"
class CaptionAPITest: