Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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

Shell command

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

Example for Bamboo

...