MCPcopy
hub / github.com/saltstack/salt / lint_tests

Function lint_tests

noxfile.py:1653–1662  ·  view source on GitHub ↗

Run PyLint against Salt and it's test suite.

(session)

Source from the content-addressed store, hash-verified

1651
1652@nox.session(python="3", name="lint-tests")
1653def lint_tests(session):
1654 """
1655 Run PyLint against Salt and it's test suite.
1656 """
1657 flags = ["--disable=I"]
1658 if session.posargs:
1659 paths = session.posargs
1660 else:
1661 paths = ["tests/"]
1662 _lint(session, ".pylintrc", flags, paths)
1663
1664
1665@nox.session(python=False, name="lint-salt-pre-commit")

Callers

nothing calls this directly

Calls 1

_lintFunction · 0.85

Tested by

no test coverage detected