Skip to content

Commit

Permalink
Auto precommit update (seladb#1113)
Browse files Browse the repository at this point in the history
* 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]>
  • Loading branch information
4 people authored Apr 7, 2023
1 parent 33d6929 commit 1d29c00
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ repos:
- id: mixed-line-ending
args: ['--fix=lf']
- repo: https://github.com/psf/black
rev: 23.1.0
rev: 23.3.0
hooks:
- id: black
- repo: https://github.com/pocc/pre-commit-hooks
Expand All @@ -20,7 +20,7 @@ repos:
args: ["--std=c++11", "--language=c++", "--suppressions-list=cppcheckSuppressions.txt", "--inline-suppr", "--force"]
# - id: clang-format
- repo: https://github.com/codespell-project/codespell
rev: v2.2.2
rev: v2.2.4
hooks:
- id: codespell
pass_filenames: false
Expand Down
2 changes: 1 addition & 1 deletion Examples/Arping/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ int main(int argc, char* argv[])
if (!dev->open())
EXIT_WITH_ERROR("Couldn't open interface device '" << dev->getName() << "'");

// verify source MAC is valud
// verify source MAC is valid
if (!sourceMac.isValid())
EXIT_WITH_ERROR("Source MAC address is invalid");

Expand Down
2 changes: 1 addition & 1 deletion Pcap++/header/DpdkDevice.h
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ namespace pcpp
uint64_t rxPacketsDroppedByHW;
/** Total number of erroneous packets */
uint64_t rxErroneousPackets;
/** Total number of RX mbuf allocation failuers */
/** Total number of RX mbuf allocation failures */
uint64_t rxMbufAlocFailed;
};

Expand Down
1 change: 1 addition & 0 deletions codespell-ignore-list.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ inout
ba
wont
pinter
allo

0 comments on commit 1d29c00

Please sign in to comment.