Skip to content
Snippets Groups Projects

Diff of pyopencl pylintrc

  • Clone with SSH
  • Clone with HTTPS
  • Embed
  • Share
    The snippet can be accessed without any authentication.
    Authored by Matt Wala
    pylintrc-diff 1.88 KiB
    --- .pylintrc-default	2019-01-26 18:22:11.279657231 -0600
    +++ .pylintrc	2019-01-26 18:22:49.297405617 -0600
    @@ -1,16 +1,15 @@
    -# Generated with pylint --errors-only --generate-rcfile using pylint 2.2.2
    -# (without further manual changes)
    +# Based on: https://gitlab.tiker.net/inducer/ci-support/raw/237bf5f0414a47499bc9ce4ef54ebd285e6fe648/.pylintrc-default
     
     [MASTER]
     
     # A comma-separated list of package or module names from where C extensions may
     # be loaded. Extensions are loading into the active Python interpreter and may
     # run arbitrary code.
    -extension-pkg-whitelist=
    +extension-pkg-whitelist=numpy
     
     # Add files or directories to the blacklist. They should be base names, not
     # paths.
    -ignore=CVS
    +ignore=CVS,compyte
     
     # Add files or directories matching the regex patterns to the blacklist. The
     # regex matches against base names, not paths.
    @@ -63,7 +62,8 @@
     # --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=blacklisted-name,
    +disable=assignment-from-no-return,  # https://github.com/PyCQA/pylint/issues/2694
    +        blacklisted-name,
             invalid-name,
             missing-docstring,
             empty-docstring,
    @@ -357,7 +357,6 @@
            missing-super-argument,
            no-member,
            not-callable,
    -       assignment-from-no-return,
            no-value-for-parameter,
            too-many-function-args,
            unexpected-keyword-arg,
    @@ -486,7 +485,7 @@
     # 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=cltypes.*,gl_platform.*,mako.template
     
     # Tells whether missing members accessed in mixin class should be ignored. A
     # mixin class is detected if its name ends with "mixin" (case insensitive).
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Finish editing this message first!
    Please register or to comment