~95% on SimpleQA (e.g. Qwen3.6-27B on a 3090). Supports all local and cloud LLMs (llama.cpp, Ollama, Google, ...). 10+ search engines - arXiv, PubMed, your private documents. Everything Local & Encrypted.
Python academiaanthropicarxivbravedeep-researchencryptionhome-automationhomeserverlocallocal-deep-researchlocal-llmmistralollamaopenaipubmedresearchresearch-toolretrieval-augmented-generationsearxngself-hosted
🤖 Update pre-commit hooks
github-actions[bot]c0f31699b4b5
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yamlindex 5d281ecdf7..edb21bc1f6 100644--- a/.pre-commit-config.yaml+++ b/.pre-commit-config.yaml@@ -1,123 +1,131 @@repos:- - repo: https://github.com/pre-commit/pre-commit-hooks+- repo: https://github.com/pre-commit/pre-commit-hooksrev: v6.0.0hooks:- - id: check-yaml+ - id: check-yamlexclude: cookiecutter-docker/.*- - id: end-of-file-fixer- - id: trailing-whitespace- - id: check-added-large-files+ - id: end-of-file-fixer+ - id: trailing-whitespace+ - id: check-added-large-filesargs: ['--maxkb=1000']- - id: check-case-conflict- - id: forbid-new-submodules- - repo: https://github.com/gitleaks/gitleaks- rev: v8.24.3+ - id: check-case-conflict+ - id: forbid-new-submodules+- repo: https://github.com/gitleaks/gitleaks+ rev: v8.30.0hooks:- - id: gitleaks+ - id: gitleaksname: Detect secrets with gitleaksdescription: "Detect hardcoded secrets like passwords, API keys, and tokens"args: ["--config", ".gitleaks.toml"]- - repo: https://github.com/shellcheck-py/shellcheck-py- rev: v0.10.0.1+- repo: https://github.com/shellcheck-py/shellcheck-py+ rev: v0.11.0.1hooks:- - id: shellcheck+ - id: shellcheckname: Shellcheck - lint shell scriptsdescription: "Shell script static analysis tool"- - repo: https://github.com/pre-commit/mirrors-eslint- rev: v9.27.0+- repo: https://github.com/pre-commit/mirrors-eslint+ rev: v9.39.1hooks:- - id: eslint+ - id: eslintname: ESLint - lint JavaScriptfiles: \.(js|mjs)$exclude: (node_modules|dist|build|\.min\.js|static/dist)args: ['--config', 'eslint.config.js']additional_dependencies:- - repo: https://github.com/astral-sh/ruff-pre-commit+- repo: https://github.com/astral-sh/ruff-pre-commit# Ruff version.- rev: v0.14.5+ rev: v0.14.8hooks:# Run the linter.- - id: ruff- args: [ --fix ]+ - id: ruff+ args: [--fix]# Run the formatter.- - id: ruff-format- - repo: https://github.com/rhysd/actionlint+ - id: ruff-format+- repo: https://github.com/rhysd/actionlintrev: v1.7.9hooks:- - id: actionlint+ - id: actionlintname: Lint GitHub Actions workflowsdescription: "Static checker for GitHub Actions workflow files"files: ^\.github/workflows/.*\.ya?ml$- - repo: local+- repo: localhooks:- - id: custom-code-checks+ - id: custom-code-checksname: Custom Code Quality Checksentry: .pre-commit-hooks/custom-checks.pylanguage: scriptfiles: \.py$- description: "Check for loguru usage, logger.exception vs logger.error, raw SQL, redundant {e} in logger.exception, and non-UTC datetime usage"- - id: check-env-vars+ description: "Check for loguru usage, logger.exception vs logger.error, raw+ SQL, redundant {e} in logger.exception, and non-UTC datetime usage"+ - id: check-env-varsname: Environment Variable Access Checkentry: .pre-commit-hooks/check-env-vars.pylanguage: scriptfiles: \.py$description: "Ensure environment variables are accessed through SettingsManager"- - id: file-whitelist-check+ - id: file-whitelist-checkname: File Whitelist Security Checkentry: .pre-commit-hooks/file-whitelist-check.shlanguage: scripttypes: [file]description: "Check for allowed file types and file sizes"- - id: check-deprecated-db-connection+ - id: check-deprecated-db-connectionname: Check for deprecated get_db_connection usageentry: .pre-commit-hooks/check-deprecated-db.pylanguage: scriptfiles: \.py$- description: "Ensure code uses per-user database connections instead of deprecated shared database"- - id: check-ldr-db-usage+ description: "Ensure code uses per-user database connections instead of deprecated+ shared database"+ - id: check-ldr-db-usagename: Check for ldr.db usageentry: .pre-commit-hooks/check-ldr-db.pylanguage: scriptfiles: \.py$- description: "Prevent usage of shared ldr.db database - all data must use per-user encrypted databases"- - id: check-research-id-type+ description: "Prevent usage of shared ldr.db database - all data must use+ per-user encrypted databases"+ - id: check-research-id-typename: Check for incorrect research_id type hintsentry: .pre-commit-hooks/check-research-id-type.pylanguage: scriptfiles: \.py$- description: "Ensure research_id is always treated as string/UUID, never as int"- - id: check-deprecated-settings-wrapper+ description: "Ensure research_id is always treated as string/UUID, never as+ int"+ - id: check-deprecated-settings-wrappername: Check for deprecated get_setting_from_db_main_thread usageentry: .pre-commit-hooks/check-deprecated-settings-wrapper.pylanguage: scriptfiles: \.py$- description: "Prevent usage of redundant get_setting_from_db_main_thread wrapper - use SettingsManager directly"- - id: check-datetime-timezone+ description: "Prevent usage of redundant get_setting_from_db_main_thread wrapper+ - use SettingsManager directly"+ - id: check-datetime-timezonename: Check DateTime columns have timezoneentry: scripts/pre_commit/check_datetime_timezone.pylanguage: scriptfiles: \.py$description: "Ensure all SQLAlchemy DateTime columns have timezone=True"- - id: check-session-context-manager+ - id: check-session-context-managername: Check for try/finally session patternsentry: .pre-commit-hooks/check-session-context-manager.pylanguage: scriptfiles: \.py$- description: "Ensure SQLAlchemy sessions use context managers instead of try/finally blocks"- - id: check-pathlib-usage+ description: "Ensure SQLAlchemy sessions use context managers instead of try/finally+ blocks"+ - id: check-pathlib-usagename: Check for os.path usageentry: .pre-commit-hooks/check-pathlib-usage.pylanguage: scriptfiles: \.py$- description: "Enforce using pathlib.Path instead of os.path for better cross-platform compatibility"- - id: check-no-external-resources+ description: "Enforce using pathlib.Path instead of os.path for better cross-platform+ compatibility"+ - id: check-no-external-resourcesname: Check for external CDN/resource referencesentry: .pre-commit-hooks/check-external-resources.pylanguage: scriptfiles: \.(html|js|css|py)$- description: "Ensure no external CDN URLs or external resources are referenced in the codebase"- - id: check-sensitive-logging+ description: "Ensure no external CDN URLs or external resources are referenced+ in the codebase"+ - id: check-sensitive-loggingname: Check for sensitive data in loggingentry: .pre-commit-hooks/check-sensitive-logging.pylanguage: script