From 4501696f4d0d357b8b3c8f444791744f828dc801 Mon Sep 17 00:00:00 2001
From: xavier2k6 <42386382+xavier2k6@users.noreply.github.com>
Date: Mon, 27 Jan 2025 17:31:44 +0000
Subject: [PATCH] GHA CI: Update pre-commit-config
* Bumped `codespell` -> `2.4.0`
* Bumped `typos` -> `1.29.4`
* Fixed found typos from dry run
---
.pre-commit-config.yaml | 4 ++--
Compilation-MSVC-2008-(static-linkage).mediawiki | 2 +-
WebUI-API-(qBittorrent-v3.1.x).md | 2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 72841b4..c159969 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -16,14 +16,14 @@ repos:
name: Check trailing whitespaces
- repo: https://github.com/codespell-project/codespell.git
- rev: v2.3.0
+ rev: v2.4.0
hooks:
- id: codespell
name: Check spelling (codespell)
args: ["--ignore-words-list", ""]
- repo: https://github.com/crate-ci/typos.git
- rev: v1.26.0
+ rev: v1.29.4
hooks:
- id: typos
name: Check spelling (typos)
diff --git a/Compilation-MSVC-2008-(static-linkage).mediawiki b/Compilation-MSVC-2008-(static-linkage).mediawiki
index 2f1be9a..a0624d2 100644
--- a/Compilation-MSVC-2008-(static-linkage).mediawiki
+++ b/Compilation-MSVC-2008-(static-linkage).mediawiki
@@ -75,7 +75,7 @@ Let's assume that the working directory for our compilation will be '''C:\qBitto
* Navigate to the Libtorrent source folder. eg ''cd C:\qBittorrent\libtorrent-rasterbar-0.16.9''
* Copy the b2.exe from the Boost directory to the Libtorrent directory
copy ..\boost_1_53_0\b2.exe b2.exe
-* Compile a static version of Libtorrent. Issue the following command where N is the number of CPU cores you have or how many threads you want b2 to use when compiling, adjust the value of BOOST_ROOT to the Boost source directory(absolute path) and adjuct the value of the "include=" and "library-path=" keywords:
+* Compile a static version of Libtorrent. Issue the following command where N is the number of CPU cores you have or how many threads you want b2 to use when compiling, adjust the value of BOOST_ROOT to the Boost source directory(absolute path) and adjust the value of the "include=" and "library-path=" keywords:
b2 -q --without-python --toolset=msvc-9.0 variant=release link=static runtime-link=static encryption=openssl logging=none geoip=static dht-support=on boost=source character-set=unicode boost-link=static -sBOOST_ROOT="C:\qBittorrent\boost_1_53_0" include="C:\QBITTORRENT\install\include" library-path="C:\QBITTORRENT\install\lib" -j N
* If you want to continue with the lazy batch file approach here's the batch file you need to use (still assuming you haven't left the VS2008 Command prompt) -- copy and paste it to e.g. 'mkl.bat' and place it in your lib* folder and then run it:
copy %BOOST_ROOT%\b2.exe
diff --git a/WebUI-API-(qBittorrent-v3.1.x).md b/WebUI-API-(qBittorrent-v3.1.x).md
index dde3dcb..87cc1c7 100644
--- a/WebUI-API-(qBittorrent-v3.1.x).md
+++ b/WebUI-API-(qBittorrent-v3.1.x).md
@@ -343,7 +343,7 @@ content-length: length
```
where
-`dl_info` - (translated string) contains current global downalod speed and global amount of data downaloded during this session
+`dl_info` - (translated string) contains current global download speed and global amount of data downloaded during this session
`up_info` - (translated string) contains current global upload speed and global amount of data uploaded during this session
### Get qBittorrent preferences ###