Skip to main content

Running Pylint Against Your Code

Pylint is a best-practice analysis tool that is used to flag coding errors, including, but not limited to, false-positives, syntax errors, and style errors in Python. Pylint follows the style recommended by the Python style guide or PEP 8.

tip

Run through the steps in Setting Up a Dev Environment prior to modifying/testing code.

Visit here for an article on Linting Python in Visual Studio Code. The article provides information on the following Pylint topics:

Manually Running PyLint

  1. Navigate to the task's base folder.
  2. Activate the virtual environment.
  3. Run Pylint and fix any discovered issues if you can.
    pylint [file name]