Run PyLint against Salt and it's test suite.
(session)
| 1677 | |
| 1678 | @nox.session(python=False, name="lint-tests-pre-commit") |
| 1679 | def 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") |
nothing calls this directly
no test coverage detected