MCPcopy Create free account
hub / github.com/saltstack/salt / lint_salt_pre_commit

Function lint_salt_pre_commit

noxfile.py:1666–1675  ·  view source on GitHub ↗

Run PyLint against Salt.

(session)

Source from the content-addressed store, hash-verified

1664
1665@nox.session(python=False, name="lint-salt-pre-commit")
1666def lint_salt_pre_commit(session):
1667 """
1668 Run PyLint against Salt.
1669 """
1670 flags = ["--disable=I"]
1671 if session.posargs:
1672 paths = session.posargs
1673 else:
1674 paths = ["setup.py", "noxfile.py", "salt/", "tools/"]
1675 _lint_pre_commit(session, ".pylintrc", flags, paths)
1676
1677
1678@nox.session(python=False, name="lint-tests-pre-commit")

Callers

nothing calls this directly

Calls 1

_lint_pre_commitFunction · 0.85

Tested by

no test coverage detected