I'm using Pylint under Windows, and it's not reading my pylint-config.rc file. Is there a way to set up a default .rc file for Python within windows so that I don't have to keep typing it into the command line? Thanks.
config/pylintrc in your home directory. /etc/pylintrc for global configuration of machines.
pylintrc file is to place it in the same working directory as your code. Note: In the file you downloaded, the disable= checks are all on a single line. The list provided above is formatted onto separate lines to make it easier to read.
pylintrc file in your home directory (typically C:\Users\myusername) will be automatically recognized.
Since creating a file beginning with a dot is not allowed from Windows file explorer, you can create a template using:
pylint --generate-rcfile > .pylintrc
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