mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
![]() This patch adds `clang-format` as only linter for now. This replaces the previously used script from `auxil/run-clang-format` which we remove. This requires the Python program `pre-commit` (https://pypi.org/project/pre-commit/). With that one can then run `clang-format` on the whole codebase with $ pre-commit run -a clang-format or on just the staged files # Explicitly selecting linter. $ pre-commit run clang-format # Run all linters (currently just `clang-format`). $ pre-commit `pre-commit` supports managing Git commit hooks so that linters are run on commit. Linters can be installed with $ pre-commit install The documentation at https://pre-commit.com/ covers these topics in addition to more information. |
||
---|---|---|
.. | ||
bifcl@6bd2643518 | ||
binpac@8169f16309 | ||
broker@07842d8bcd | ||
btest@5f954ec65c | ||
highwayhash@ca0ff296b1 | ||
libkqueue@6c1717dea2 | ||
netcontrol-connectors@fa4df17027 | ||
package-manager@feffa1d51e | ||
paraglob@8dbff934df | ||
rapidjson@dfbe1db9da | ||
zeek-archiver@479e8a85fd | ||
zeek-aux@00ec86d2da | ||
zeek-client@afe253c775 | ||
zeekctl@d31885671d |