Search code examples
pylintjenkins

Getting pylint warning: "No config file found, using default configuration"


$ pylint --reports=n main.py

Output:

No config file found, using default configuration

Solution

  • You will get the "No config file found, using default configuration" warning if you do not have a .pylintrc file in your home directory, or if you don't specify the pylint argument --rcfile=/path/to/pylintrc.

    To suppress the message, on *nix:

    $ touch ~/.pylintrc