Skip to main content

Watch for changes in Python files and run pylint on them

Project description

watchpylint

A simple utility script which watches for changes in the given Python files, and runs pylint on them. It then groups the output together by message type and saves the output to a file.

It will run lint processes in parallel (up to 8), and also has an option to wait for output to be available before printing it. That allows you to set watchpylint -w lint.txt as your editor's linter or compiler for easy browsing of the output.

Example

cd ~/py/myproject
watchpylint *.py -o lint.txt

Then, in emacs:

M-x compile
watchpylint -w lint.txt

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

watchpylint-0.0.3.tar.gz (5.0 kB view hashes)

Uploaded Source

Built Distribution

watchpylint-0.0.3-py3-none-any.whl (4.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page