From cff4ec5630fa55d56ce113d8c86453d722cb3b0c Mon Sep 17 00:00:00 2001 From: xavier2k6 <42386382+xavier2k6@users.noreply.github.com> Date: Wed, 4 Jun 2025 12:51:43 +0100 Subject: [PATCH] GHA CI: Refactor pre-commit workflow * Bumped `typos` Rev. * Added `AFE` to `default.extend-words` * fixed typo: `preceeded` -> `preceded` --- .github/workflows/helper/pre-commit/.typos.toml | 1 + .pre-commit-config.yaml | 2 +- WebUI-API-(qBittorrent-4.1).md | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/helper/pre-commit/.typos.toml b/.github/workflows/helper/pre-commit/.typos.toml index 44ce985..3e6cf60 100644 --- a/.github/workflows/helper/pre-commit/.typos.toml +++ b/.github/workflows/helper/pre-commit/.typos.toml @@ -9,3 +9,4 @@ mak = "mak" UPnP = "UPnP" [default.extend-words] +AFE = "AFE" diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 45194c6..9f471bc 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -23,7 +23,7 @@ repos: args: ["--ignore-words-list", ""] - repo: https://github.com/crate-ci/typos.git - rev: v1.32.0 + rev: v1.33.1 hooks: - id: typos name: Check spelling (typos) diff --git a/WebUI-API-(qBittorrent-4.1).md b/WebUI-API-(qBittorrent-4.1).md index 0ed5386..b1a913c 100644 --- a/WebUI-API-(qBittorrent-4.1).md +++ b/WebUI-API-(qBittorrent-4.1).md @@ -1923,7 +1923,7 @@ HTTP Status Code | Scenario ### Notes on boundaries ### -Also, be aware that multipart/form-data boundaries in the POST body are preceeded by two hyphens, and the end of the body is closed by two hyphens added to the end of the boundary string. +Also, be aware that multipart/form-data boundaries in the POST body are preceded by two hyphens, and the end of the body is closed by two hyphens added to the end of the boundary string. For example, if you use a random string and your header has: ```