Pylint

Pylint is a static code analysis tool for Python 2 and 3. It is supported by setting the --msg-template to "{path}:{line}: [{msg_id}] {msg}}.

Shell command

#!/bin/bash for file in $(find . -name "*.py" -type f); do pylint --msg-template="{path}:{line}: [{msg_id}] {msg}" $file; done;

Example for Bamboo

 

Â