Skip to content

Instantly share code, notes, and snippets.

@casallas
Created September 18, 2012 03:12
Show Gist options
  • Save casallas/3741029 to your computer and use it in GitHub Desktop.
Save casallas/3741029 to your computer and use it in GitHub Desktop.
pylint usage
# The python built-in option py_compile
python -m py_compile *.py
# Check for errors in python files
pylint -E *.py
# Check for warnings, but still ignore some aesthetic ones
pylint --include-ids=y -d W0312 -d C0103 -d C0111 -d C0301 -d C0324 -d W0614 -d W0401 *.py
@casallas
Copy link
Author

Explain the different options (pylint --help-msg=<ERR_CODE>)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment