Run PyLint against Salt.
(session)
| 1637 | |
| 1638 | @nox.session(python="3", name="lint-salt") |
| 1639 | def 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") |