https://gitlab.com/tezos/tezos
Raw File
Tip revision: 6147c6f9703479538b67871105f6ec40c221e0cc authored by ambrona on 31 May 2023, 16:30:21 UTC
fix on the fix
Tip revision: 6147c6f
lint-all-ocaml-sources.sh
#!/bin/sh

# We can't do linting on frozen protocol (src/proto_*/lib_protocol/*.ml) but we
# can still do it on the in-development protocol
# (src/proto_alpha/lib_protocol/*.ml). The `exclude` pattern below expresses
# this.
semgrep \
  --metrics=off \
  --error \
  -l ocaml \
  -c scripts/semgrep/ \
  --exclude "src/proto_[0-9]*/lib_protocol/*.ml*" \
  --exclude "src/lib_webassembly/*" \
  src/
back to top