Skip to main content

A command-line utility that checks for best practices in SaltStack.

Project description


Latest release version PyPI - Python Version PyPI - License GitHub Workflow Status GitHub contributors
salt-lint checks Salt State files (SLS) for best practices and behavior that could potentially be improved.
Explore the docs »
Check the Linting Rules · Report Bug · Request Feature


salt-lint demo


The project is heavily based on ansible-lint, with the modified work by Warpnet B.V.. ansible-lint was created by Will Thames and is now maintained as part of the Ansible by Red Hat project.


All notable changes in salt-lint are documented below.


0.6.1 (2021-06-01)

  • Remove rule 218 because of a false positive

0.6.0 (2021-06-01)


  • Drop Python 2.7 support (#239).


  • Rule 216, 217 and 218 for catching common typographical errors (#249).

0.5.2 (2021-01-29)


  • Append the contents of the file to the long description of the package instead of the duplicate contents (#234).
  • Ignore Jinja specific rules in Jinja escaped blocks (#236).

0.5.1 (2021-01-19)


  • Ensure all excluded paths from both the CLI and configuration are passed to the runner (#231).

0.5.0 (2021-01-17)


  • Rule 213 to recommend using together with onchanges (#207).
  • Rule 214 to check SLS file with a period in the name (besides the suffix period) as they can not be referenced by Salt (#209).
  • Rules 901-915 to check for deprecated states and state options (#214).
  • This file to be able to list all notable changes for each version of salt-lint (#223).

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for salt-lint, version 0.6.1
Filename, size File type Python version Upload date Hashes
Filename, size salt_lint-0.6.1-py3-none-any.whl (33.7 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size salt-lint-0.6.1.tar.gz (20.1 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page