Skip to content
This repository has been archived by the owner on Aug 12, 2020. It is now read-only.

Commit

Permalink
Prevent bad-continuation warning
Browse files Browse the repository at this point in the history
This is caused by a disagreement between black and pylint on indentation
of multiple chained conditions in an if-statment. See:

psf/black#48
pylint-dev/pylint#289

Since black is less compromising on the matter, let's disable pylint's
warnings instead.
  • Loading branch information
pastelmind committed Feb 27, 2020
1 parent 248f97d commit cfffaee
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .pylintrc
@@ -0,0 +1,12 @@
[MESSAGES CONTROL]

# Disable the message, report, category or checker with the given id(s). You
# can either give multiple identifiers separated by comma (,) or put this
# option multiple times (only on the command line, not in the configuration
# file where it should appear only once). You can also use "--disable=all" to
# disable everything first and then reenable specific checks. For example, if
# you want to run only the similarities checker, you can use "--disable=all
# --enable=similarities". If you want to run only the classes checker, but have
# no Warning level messages displayed, use "--disable=all --enable=classes
# --disable=W".
disable=bad-continuation

0 comments on commit cfffaee

Please sign in to comment.