Skip to content

Commit

Permalink
Lint: Improve pylint configuration
Browse files Browse the repository at this point in the history
The continuation check is not compatible with what black formats, see
pylint-dev/pylint#289
  • Loading branch information
nijel committed Jun 30, 2020
1 parent 30d3b29 commit 2a10d9f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ confidence=
# --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=missing-docstring,unused-argument,no-self-use,no-member,broad-except,locally-disabled,star-args,cyclic-import
disable=missing-docstring,unused-argument,no-self-use,no-member,broad-except,locally-disabled,star-args,cyclic-import,bad-continuation

# Enable the message, report, category or checker with the given id(s). You can
# either give multiple identifier separated by comma (,) or put this option
Expand Down
1 change: 1 addition & 0 deletions weblate/trans/widgets.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@

gi.require_version("PangoCairo", "1.0")
gi.require_version("Pango", "1.0")
# pylint:disable=wrong-import-position,wrong-import-order
from gi.repository import Pango, PangoCairo # noqa:E402,I001 isort:skip

COLOR_DATA = {
Expand Down

0 comments on commit 2a10d9f

Please sign in to comment.