I have
find . -iname \"*.py\" -exec pylint -E {} ;\\
and
FILES=$(find . -iname \"*.py\")
pylint -E $FILES
If
To run Pylint in all subdirectories,
pylint $(find [a-z]* -type d)
This solution is simpler and more direct than others. It works with no setup, including on macOS which doesn't have Bash 4.
The reason for the [a-z]*
is because most projects have Git or other magic subdirectories, which would pollute the results. If you have subdirectories starting with Capital Letters, use this variant:
pylint $(find [a-zA-Z]* -type d)