Skip to content

Commit 1d29c00

Browse files
github-actions[bot]web-flowegecetin
authored
Auto precommit update (seladb#1113)
* Auto pre-commit update * Update .pre-commit-config.yaml * Codespell fixes * Install cargo * rust? * Revert "rust?" This reverts commit a6f4ced. * Revert "Install cargo" This reverts commit 51d250c. * Check old version of typos --------- Co-authored-by: GitHub <[email protected]> Co-authored-by: Ege Çetin <[email protected]> Co-authored-by: Ege Çetin <[email protected]>
1 parent 33d6929 commit 1d29c00

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

.pre-commit-config.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ repos:
1010
- id: mixed-line-ending
1111
args: ['--fix=lf']
1212
- repo: https://github.com/psf/black
13-
rev: 23.1.0
13+
rev: 23.3.0
1414
hooks:
1515
- id: black
1616
- repo: https://github.com/pocc/pre-commit-hooks
@@ -20,7 +20,7 @@ repos:
2020
args: ["--std=c++11", "--language=c++", "--suppressions-list=cppcheckSuppressions.txt", "--inline-suppr", "--force"]
2121
# - id: clang-format
2222
- repo: https://github.com/codespell-project/codespell
23-
rev: v2.2.2
23+
rev: v2.2.4
2424
hooks:
2525
- id: codespell
2626
pass_filenames: false

Examples/Arping/main.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ int main(int argc, char* argv[])
195195
if (!dev->open())
196196
EXIT_WITH_ERROR("Couldn't open interface device '" << dev->getName() << "'");
197197

198-
// verify source MAC is valud
198+
// verify source MAC is valid
199199
if (!sourceMac.isValid())
200200
EXIT_WITH_ERROR("Source MAC address is invalid");
201201

Pcap++/header/DpdkDevice.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@ namespace pcpp
363363
uint64_t rxPacketsDroppedByHW;
364364
/** Total number of erroneous packets */
365365
uint64_t rxErroneousPackets;
366-
/** Total number of RX mbuf allocation failuers */
366+
/** Total number of RX mbuf allocation failures */
367367
uint64_t rxMbufAlocFailed;
368368
};
369369

codespell-ignore-list.txt

+1
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@ inout
77
ba
88
wont
99
pinter
10+
allo

0 commit comments

Comments
 (0)