config/pylintrc in your home directory. /etc/pylintrc for global configuration of machines. I would avoid this for any hidden configuration mystery bugs.
You may put it in:
/etc/pylintrc for default global configuration~/.pylintrc for default user configuration<your project>/pylintrc for default project configuration (used when you'll run pylint <your project>)pylint --rcfile=<wherever I want>
Also notice when generating the rc file, you may add option on the command line before the --generate-rcfile, they will be considered in the generated file.
According to documentation here, we can use the following command to generate a pylint rc file with all its options present:
pylint --generate-rcfile > $HOME/.pylintrc
The above command will create the file .pylintrc under your home directory. Then you can tweak the rc file to fit your needs.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With