mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-11-28 05:27:15 +03:00
eb9e98a4b3
This PR adds support for running multiple concurrent searches in the Web UI. This is already supported in the GUI as well as by the Web API. Behavior mimics the GUI as closely as possible. All filters and sorting are preserved per-tab, allowing you to apply unique filters and sorts to each of your searches. Row selection is also preserved across tab navigation. Closes #12840. PR #20593.
117 lines
3.1 KiB
YAML
117 lines
3.1 KiB
YAML
repos:
|
|
- repo: local
|
|
hooks:
|
|
- id: check-translation-tag
|
|
name: Check newline characters in <translation> tag
|
|
entry: .github/workflows/helper/pre-commit/check_translation_tag.py
|
|
language: script
|
|
exclude: |
|
|
(?x)^(
|
|
src/lang/.*
|
|
)$
|
|
types_or:
|
|
- ts
|
|
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks.git
|
|
rev: v4.5.0
|
|
hooks:
|
|
- id: check-json
|
|
name: Check JSON files
|
|
|
|
- id: check-yaml
|
|
name: Check YAML files
|
|
|
|
- id: fix-byte-order-marker
|
|
name: Check file encoding (UTF-8 without BOM)
|
|
exclude: |
|
|
(?x)^(
|
|
src/base/unicodestrings.h
|
|
)$
|
|
|
|
- id: mixed-line-ending
|
|
name: Check line ending character (LF)
|
|
args: ["--fix=lf"]
|
|
exclude: |
|
|
(?x)^(
|
|
src/webui/www/private/css/lib/.* |
|
|
src/webui/www/private/scripts/lib/.* |
|
|
dist/windows/license.txt |
|
|
test/testdata/crlf.txt
|
|
)$
|
|
|
|
- id: end-of-file-fixer
|
|
name: Check trailing newlines
|
|
exclude: |
|
|
(?x)^(
|
|
configure |
|
|
src/webui/www/private/css/lib/.* |
|
|
src/webui/www/private/scripts/lib/.* |
|
|
test/testdata/crlf.txt
|
|
)$
|
|
exclude_types:
|
|
- svg
|
|
- ts
|
|
|
|
- id: trailing-whitespace
|
|
name: Check trailing whitespaces
|
|
exclude: |
|
|
(?x)^(
|
|
src/webui/www/private/css/lib/.* |
|
|
src/webui/www/private/scripts/lib/.*
|
|
)$
|
|
exclude_types:
|
|
- ts
|
|
|
|
- repo: https://github.com/codespell-project/codespell.git
|
|
rev: v2.2.6
|
|
hooks:
|
|
- id: codespell
|
|
name: Check spelling (codespell)
|
|
args: ["--ignore-words-list", "additionals,curren,fo,ist,ket,searchin,superseeding,te,ths"]
|
|
exclude: |
|
|
(?x)^(
|
|
.*\.desktop |
|
|
.*\.qrc |
|
|
build-aux/.* |
|
|
Changelog |
|
|
dist/windows/installer-translations/.* |
|
|
m4/.* |
|
|
src/base/3rdparty/.* |
|
|
src/searchengine/nova3/socks.py |
|
|
src/webui/www/private/lang/.* |
|
|
src/webui/www/private/scripts/lib/.* |
|
|
src/webui/www/public/lang/.* |
|
|
src/webui/www/public/scripts/lib/.* |
|
|
src/webui/www/transifex/.*
|
|
)$
|
|
exclude_types:
|
|
- ts
|
|
|
|
- repo: https://github.com/crate-ci/typos.git
|
|
rev: v1.16.18
|
|
hooks:
|
|
- id: typos
|
|
name: Check spelling (typos)
|
|
args: ["--config", ".github/workflows/helper/pre-commit/.typos.toml"]
|
|
exclude: |
|
|
(?x)^(
|
|
.*\.asc |
|
|
.*\.desktop |
|
|
.*\.qrc |
|
|
\.pre-commit-config\.yaml |
|
|
build-aux/.* |
|
|
Changelog |
|
|
configure.* |
|
|
dist/windows/installer-translations/.* |
|
|
m4/.* |
|
|
src/base/3rdparty/.* |
|
|
src/searchengine/nova3/socks.py |
|
|
src/webui/www/private/lang/.* |
|
|
src/webui/www/private/scripts/lib/.* |
|
|
src/webui/www/public/lang/.* |
|
|
src/webui/www/public/scripts/lib/.* |
|
|
src/webui/www/transifex/.*
|
|
)$
|
|
exclude_types:
|
|
- svg
|
|
- ts
|