zeek/auxil
Benjamin Bannier 77e2e8278f Add pre-commit config.
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.
2021-11-09 07:20:18 +01:00
..
bifcl@6bd2643518 Update submodule(s) [nomail] [skip ci] 2021-07-09 12:21:22 -07:00
binpac@8169f16309 Update submodule(s) [nomail] [skip ci] 2021-07-09 12:21:22 -07:00
broker@07842d8bcd Update broker submodule [nomail] [skip ci] 2021-11-05 13:40:04 -07:00
btest@5f954ec65c Update btest submodule to 0.71 [nomail] [skip ci] 2021-11-01 12:10:39 -07:00
highwayhash@ca0ff296b1 Bump highwayhash submodule to pull in another FreeBSD header fix 2021-09-30 10:39:43 -07:00
libkqueue@6c1717dea2 GH-1063: Update libkqueue to fix pf_ring-zc failures 2020-10-13 13:47:56 -07:00
netcontrol-connectors@fa4df17027 Update submodules 2020-12-14 21:23:30 -08:00
package-manager@feffa1d51e Bump zkg to 2.12.0 [nomail] [skip ci] 2021-10-12 14:05:47 -07:00
paraglob@8dbff934df Update submodule(s) [nomail] 2021-04-21 14:03:07 -07:00
rapidjson@dfbe1db9da Rename aux/ to auxil/ 2020-06-04 15:18:44 -07:00
zeek-archiver@479e8a85fd Update broker and zeek-archiver submodules [nomail] [skip ci] 2021-11-05 12:49:24 -07:00
zeek-aux@00ec86d2da Bump zeek-aux submodule to pull in update-changes tweak [nomail] [skip ci] 2021-10-14 11:57:48 -07:00
zeek-client@afe253c775 Add zeek-client via new submodule 2021-07-08 13:12:53 -07:00
zeekctl@d31885671d Update submodule(s) [nomail] 2021-06-15 11:35:48 -07:00