MCPcopy Create free account
hub / github.com/pybind/pybind11 / lint

Function lint

noxfile.py:25–30  ·  view source on GitHub ↗

Lint the codebase (except for clang-format/tidy).

(session: nox.Session)

Source from the content-addressed store, hash-verified

23
24@nox.session(reuse_venv=True)
25def lint(session: nox.Session) -> None:
26 """
27 Lint the codebase (except for clang-format/tidy).
28 """
29 session.install("pre-commit")
30 session.run("pre-commit", "run", "-a", *session.posargs)
31
32
33@nox.session

Callers

nothing calls this directly

Calls 2

installMethod · 0.80
runMethod · 0.45

Tested by

no test coverage detected