Run PyLint against Salt and it's test suite.
(session)
| 1651 | |
| 1652 | @nox.session(python="3", name="lint-tests") |
| 1653 | def 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") |