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

Function lint_salt

noxfile.py:1639–1649  ·  view source on GitHub ↗

Run PyLint against Salt.

(session)

Source from the content-addressed store, hash-verified

1637
1638@nox.session(python="3", name="lint-salt")
1639def lint_salt(session):
1640 """
1641 Run PyLint against Salt.
1642 """
1643 flags = ["--disable=I"]
1644 if session.posargs:
1645 paths = session.posargs
1646 else:
1647 # TBD replace paths entries when implement pyproject.toml
1648 paths = ["setup.py", "noxfile.py", "salt/", "tools/"]
1649 _lint(session, ".pylintrc", flags, paths)
1650
1651
1652@nox.session(python="3", name="lint-tests")

Callers

nothing calls this directly

Calls 1

_lintFunction · 0.85

Tested by

no test coverage detected