You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+8-5Lines changed: 8 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,11 +22,14 @@ Every code contribution to this project is highly valued and appreciated. I enco
22
22
- PcapPlusPlus compiles successfully on your machine, including all unit-tests and examples
23
23
- Unit-tests pass successfully on your machine (both `Tests/Packet++Test` and `Tests/Pcap++Test`)
24
24
- All new APIs are well documented using Doxygen (please use @ for keywords)
25
-
- Make sure that pre-commit hooks are passing by using `pre-commit run --all-files`. For pre-commit hooks you need to install `cppcheck` on your system. Recommended and tested version is 2.7. You can install by using:
26
-
- For Linux (apt) `sudo apt install cppcheck`
27
-
- For Windows (using `choco`) `choco install cppcheck --version=2.7`
28
-
- For Windows (MSI install): https://github.com/danmar/cppcheck/releases/download/2.7/cppcheck-2.7-x64-Setup.msi
29
-
- Build from source: https://github.com/danmar/cppcheck/releases/tag/2.7
25
+
- Make sure that pre-commit hooks are passing by using `pre-commit run --all-files`. For pre-commit hooks you need to install `cppcheck` and `clang-format` on your system. You can install them using the following commands:
26
+
-`pre-commit`: `pip install pre-commit`
27
+
-`cppcheck` (version 2.7 is recommended):
28
+
- For Linux (apt) `sudo apt install cppcheck`
29
+
- For Windows (using `choco`) `choco install cppcheck --version=2.7`
30
+
- For Windows (MSI install): https://github.com/danmar/cppcheck/releases/download/2.7/cppcheck-2.7-x64-Setup.msi
31
+
- Build from source: https://github.com/danmar/cppcheck/releases/tag/2.7
0 commit comments