Run Pylint for all Python files in a directory and all subdirectories

后端 未结 14 2163
眼角桃花
眼角桃花 2021-01-30 19:45

I have

find . -iname \"*.py\" -exec pylint -E {} ;\\

and

FILES=$(find . -iname \"*.py\")
pylint -E $FILES

If

相关标签:
14条回答
  • 2021-01-30 20:42

    And if you want to run your custom configuration file use below command

    pylint --rcfile=.pylintrc <directory_name>
    
    0 讨论(0)
  • 2021-01-30 20:46

    Did you try prospector (https://pypi.org/project/prospector/) or pylint_runner ( https://pypi.org/project/pylint_runner/ )

    0 讨论(0)
提交回复
热议问题