MCPcopy Index your code
hub / github.com/saltstack/salt / lint_tests_pre_commit

Function lint_tests_pre_commit

noxfile.py:1679–1688  ·  view source on GitHub ↗

Run PyLint against Salt and it's test suite.

(session)

Source from the content-addressed store, hash-verified

1677
1678@nox.session(python=False, name="lint-tests-pre-commit")
1679def lint_tests_pre_commit(session):
1680 """
1681 Run PyLint against Salt and it's test suite.
1682 """
1683 flags = ["--disable=I"]
1684 if session.posargs:
1685 paths = session.posargs
1686 else:
1687 paths = ["tests/"]
1688 _lint_pre_commit(session, ".pylintrc", flags, paths)
1689
1690
1691@nox.session(python="3")

Callers

nothing calls this directly

Calls 1

_lint_pre_commitFunction · 0.85

Tested by

no test coverage detected