mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-11-21 16:55:46 +03:00
GHA CI: Update pre-commit-config workflow
* Bumped numerous revisions * Removed obsolete exclusions (files/folders were removed previously) * Implement fix/workaround for "false positives" (typos/codespell) PR #21460.
This commit is contained in:
parent
dfa4eebbce
commit
56a0692b68
2 changed files with 6 additions and 9 deletions
|
@ -16,3 +16,5 @@ ths = "ths"
|
||||||
[default.extend-words]
|
[default.extend-words]
|
||||||
BA = "BA"
|
BA = "BA"
|
||||||
helo = "helo"
|
helo = "helo"
|
||||||
|
Pn = "Pn"
|
||||||
|
UIU = "UIU"
|
||||||
|
|
|
@ -13,7 +13,7 @@ repos:
|
||||||
- ts
|
- ts
|
||||||
|
|
||||||
- repo: https://github.com/pre-commit/pre-commit-hooks.git
|
- repo: https://github.com/pre-commit/pre-commit-hooks.git
|
||||||
rev: v4.5.0
|
rev: v4.6.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: check-json
|
- id: check-json
|
||||||
name: Check JSON files
|
name: Check JSON files
|
||||||
|
@ -63,19 +63,17 @@ repos:
|
||||||
- ts
|
- ts
|
||||||
|
|
||||||
- repo: https://github.com/codespell-project/codespell.git
|
- repo: https://github.com/codespell-project/codespell.git
|
||||||
rev: v2.2.6
|
rev: v2.3.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: codespell
|
- id: codespell
|
||||||
name: Check spelling (codespell)
|
name: Check spelling (codespell)
|
||||||
args: ["--ignore-words-list", "additionals,curren,fo,ist,ket,searchin,superseeding,te,ths"]
|
args: ["--ignore-words-list", "additionals,categor,curren,fo,ist,ket,notin,searchin,sectionin,superseeding,te,ths"]
|
||||||
exclude: |
|
exclude: |
|
||||||
(?x)^(
|
(?x)^(
|
||||||
.*\.desktop |
|
.*\.desktop |
|
||||||
.*\.qrc |
|
.*\.qrc |
|
||||||
build-aux/.* |
|
|
||||||
Changelog |
|
Changelog |
|
||||||
dist/windows/installer-translations/.* |
|
dist/windows/installer-translations/.* |
|
||||||
m4/.* |
|
|
||||||
src/base/3rdparty/.* |
|
src/base/3rdparty/.* |
|
||||||
src/searchengine/nova3/socks.py |
|
src/searchengine/nova3/socks.py |
|
||||||
src/webui/www/private/scripts/lib/.*
|
src/webui/www/private/scripts/lib/.*
|
||||||
|
@ -84,7 +82,7 @@ repos:
|
||||||
- ts
|
- ts
|
||||||
|
|
||||||
- repo: https://github.com/crate-ci/typos.git
|
- repo: https://github.com/crate-ci/typos.git
|
||||||
rev: v1.16.18
|
rev: v1.25.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: typos
|
- id: typos
|
||||||
name: Check spelling (typos)
|
name: Check spelling (typos)
|
||||||
|
@ -95,11 +93,8 @@ repos:
|
||||||
.*\.desktop |
|
.*\.desktop |
|
||||||
.*\.qrc |
|
.*\.qrc |
|
||||||
\.pre-commit-config\.yaml |
|
\.pre-commit-config\.yaml |
|
||||||
build-aux/.* |
|
|
||||||
Changelog |
|
Changelog |
|
||||||
configure.* |
|
|
||||||
dist/windows/installer-translations/.* |
|
dist/windows/installer-translations/.* |
|
||||||
m4/.* |
|
|
||||||
src/base/3rdparty/.* |
|
src/base/3rdparty/.* |
|
||||||
src/searchengine/nova3/socks.py |
|
src/searchengine/nova3/socks.py |
|
||||||
src/webui/www/private/scripts/lib/.*
|
src/webui/www/private/scripts/lib/.*
|
||||||
|
|
Loading…
Reference in a new issue