I want to bind a file containing pylint disable commands into a python file. and run it using pylint command.
like pylint --reports=n filename.py
but how to bind and external file containing(#pylint: disable=(code)) pylint disable command into filename.py
anyone knows please comment your answers
First, create a Pylint configuration file:
pylint --rcfile=/path/to/config.file
then put this in your config file with what commands you want to disable after the "disable=" part:
disable=
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.