Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.semgrep.dev/llms.txt

Use this file to discover all available pages before exploring further.

Make errors

There are probably changes to submodules that you don’t have. Run git submodule update --recursive.

Pre-commit

Make sure to follow the Development Workflow so that pre-commit will run on commit
Sometimes changes you make will cause pre-commit errors in code you haven’t touched—for example, if you change a function’s return type. However, if you’re absolutely sure you didn’t cause this, you can run git commit --no-verify to commit without running pre-commit.

Exotic

Run pip3 show semgrep to find the location semgrep was installed in. semgrep-core will be in that path/semgrep/bin/semgrep-core