diff options
Diffstat (limited to '.pylintrc')
-rw-r--r-- | .pylintrc | 13 |
1 files changed, 3 insertions, 10 deletions
@@ -114,8 +114,6 @@ disable=##################################### logging-format-interpolation, - no-member, - # We use assert(<>), which should perhaps be assert <> superfluous-parens, @@ -136,11 +134,6 @@ disable=##################################### simplifiable-if-statement, - # These messages occur when excepting a GError - these should - # be individually marked - bad-exception-context, - catching-non-exception, - bad-whitespace # Enable the message, report, category or checker with the given id(s). You can @@ -197,7 +190,7 @@ contextmanager-decorators=contextlib.contextmanager # List of members which are set dynamically and missed by pylint inference # system, and so shouldn't trigger E1101 when accessed. Python regular # expressions are accepted. -generated-members= +generated-members=__enter__ # Tells whether missing members accessed in mixin class should be ignored. A # mixin class is detected if its name ends with "mixin" (case insensitive). @@ -214,13 +207,13 @@ ignore-on-opaque-inference=yes # List of class names for which member attributes should not be checked (useful # for classes with dynamically set attributes). This supports the use of # qualified names. -ignored-classes=optparse.Values,thread._local,_thread._local +ignored-classes=optparse.Values,thread._local,_thread._local,contextlib.closing,gi.repository.GLib.GError # List of module names for which member attributes should not be checked # (useful for modules/projects where namespaces are manipulated during runtime # and thus existing member attributes cannot be deduced by static analysis. It # supports qualified module names, as well as Unix pattern matching. -ignored-modules= +ignored-modules=pkg_resources # Show a hint with possible names when a member name was not found. The aspect # of finding the hint is based on edit distance. |