Hi, not directly a python question, but I’d like to configure pylint (.pylintrc
file in my project) such that a warning-level (logging-format-interpolation
) becomes an error and makes pylint fail with non-zero exit code in the end. I’ve waded through the pylint documentation and internet searches and found nothing that works. Any help would be appreciated.
Hello Confus, that would be the --fail-on=logging-format-interpolation
option, available since pylint 2.9. See Standard Checkers - Pylint 3.0.1 documentation
1 Like